Skip to content

fix(agentgateway): remove telemetry source attribution from _lob.py#229

Closed
tiagoek wants to merge 2 commits into
mainfrom
fix/lob-remove-telemetry-source
Closed

fix(agentgateway): remove telemetry source attribution from _lob.py#229
tiagoek wants to merge 2 commits into
mainfrom
fix/lob-remove-telemetry-source

Conversation

@tiagoek

@tiagoek tiagoek commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Summary

Requested by @smahr — removes _telemetry_source=Module.AGENTGATEWAY from the two create_destination_client() calls in _lob.py so that internal auth/IAS resolution steps do not appear as AGENTGATEWAY → DESTINATION cross-module metrics.

Changes:

  • Remove _telemetry_source=Module.AGENTGATEWAY from _fetch_auth_token and get_ias_client_id_lob
  • Drop now-unused from sap_cloud_sdk.core.telemetry import Module import
  • Bump version to 0.35.1

Scope: intentionally limited to _lob.py. _fragments.py retains the attribution.

Test plan

  • Verify _fetch_auth_token still resolves auth tokens correctly
  • Verify get_ias_client_id_lob still returns the client ID correctly

tiagoek added 2 commits July 15, 2026 11:28
Remove _telemetry_source=Module.AGENTGATEWAY from create_destination_client
calls in _fetch_auth_token and get_ias_client_id_lob, and drop the now-unused
Module import.
@tiagoek tiagoek requested a review from a team as a code owner July 15, 2026 12:07
@NicoleMGomes NicoleMGomes self-requested a review July 15, 2026 12:11
instance=_DESTINATION_INSTANCE,
_telemetry_source=Module.AGENTGATEWAY,
)
client = create_destination_client(instance=_DESTINATION_INSTANCE)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

telemetry will still be generated, just not with the correct source, isn't it? Why is this a problem?

@tiagoek tiagoek closed this Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants