Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Conversation

@lzchen
Copy link
Contributor

@lzchen lzchen commented Apr 7, 2021

Support for AAD auth depends on azure-core and azure-identity only for the exception handling.

Refer to this doc for when each exception is thrown. One is a retry case, another is a (possible) drop case.

Users must pass in a TokenCredential to exporter constructors to utilize this feature. Refer to this for a list of valid credential classes.

datadog tests were also causing build errors. Commenting them out for now.

@lzchen lzchen requested review from a team, aabmass, hectorhdzg and songy23 as code owners April 7, 2021 18:04
@google-cla google-cla bot added the cla: yes label Apr 7, 2021
@lzchen lzchen force-pushed the az branch 2 times, most recently from 2e6568d to 238c977 Compare April 28, 2021 19:26
# server side error (retryable)
return self.options.minimum_retry_interval
# Authentication error
if response.status_code == 401:

Choose a reason for hiding this comment

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

Can you double check if 403 is possible as well?, I know QuickPulse return it in certain cases would be good to confirm with Breeze

Copy link

@hectorhdzg hectorhdzg left a comment

Choose a reason for hiding this comment

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

LGTM

@lzchen lzchen merged commit e2cb2af into census-instrumentation:master Jun 1, 2021
@lzchen lzchen deleted the az branch June 1, 2021 21:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants