-
Notifications
You must be signed in to change notification settings - Fork 978
Add support for App Check tokens in logging #9310
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
base: telemetry
Are you sure you want to change the base?
Conversation
|
Size Report 1Affected Products
Test Logs |
Size Analysis Report 1Affected Products
Test Logs |
integrity sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q== | ||
|
||
"string-width-cjs@npm:string-width@^4.2.0": | ||
"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure why yarn.lock would change? I don't see any changes to package.json. Did you delete and regenerate yarn.lock?
/** @internal */ | ||
export interface FetchTransportParameters { | ||
url: string; | ||
headers: () => Record<string, string>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you want to use Headers()
? Just a suggestion https://developer.mozilla.org/en-US/docs/Web/API/Headers/Headers Doesn't offer any real advantages other than clearer typing.
Discussion
Add support for App Check tokens with. If App Check has been initialized in the app, an app check token header will be included with the logging request on client-side.
Testing
Unit tested, manually tested
API Changes
N/A