Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementing Telemetry V4 #329

Merged
merged 1 commit into from
Mar 29, 2021
Merged

Implementing Telemetry V4 #329

merged 1 commit into from
Mar 29, 2021

Conversation

rayluo
Copy link
Collaborator

@rayluo rayluo commented Mar 18, 2021

This PR will close #137 and also close #175

Implement Telemetry's app-wide state

Test cases for telemetry id on most public methods

Test telemetry buffer for offline states
@rayluo
Copy link
Collaborator Author

rayluo commented Mar 19, 2021

@sangonzal FYI, this PR contains some test cases that demonstrate the actual outcome on the wire, such as 4|84,4|, 4|84,2|, ..., and 4|1|||, 4|1|622,id_1,622,id_2|error_1,error_2|, ..., etc.. Let me know if you find anything that does not feel right. :-)

By the way, have you seen any MSAL utilize that "platform-specific telemetry", i.e. appending more info at the end of the strings above? Pondering to add some platform-specific content here, wondering whether some telemetry consuming scripts would break because of that... UPDATE: Talked with Santiago during e-standup. Platform-specific values are indeed used by some other MSALs too.

@rayluo rayluo merged commit 5ccf410 into dev Mar 29, 2021
data=dict(
kwargs.pop("data", {}),
claims=_merge_claims_challenge_and_capabilities(
self._client_capabilities, claims_challenge)),
nonce=nonce,
**kwargs))
telemetry_context.update_telemetry(resposne)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

A typo sneaked in. It will be fixed in PR #345

This was referenced Apr 8, 2021
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.

[Feature Request] Support Telemetry v2 protocol Server Side Telemetry
1 participant