Skip to content

Update otlpmetrics sample#410

Merged
psx95 merged 4 commits intoGoogleCloudPlatform:mainfrom
psx95:update-otlpmetrics-sample
May 17, 2025
Merged

Update otlpmetrics sample#410
psx95 merged 4 commits intoGoogleCloudPlatform:mainfrom
psx95:update-otlpmetrics-sample

Conversation

@psx95
Copy link
Copy Markdown
Contributor

@psx95 psx95 commented May 15, 2025

Description

Updates the OTLP sample with the following changes:

  1. Defers adding quota project header to Google auth library.
  2. Adds GCP resource detection.
  3. Updates documentation.
  4. Shows how to use dynamic headers to enable auto token refresh.

Testing

  • Manually ran sample with End User Credentials and Service Credentials.
  • Confirmed metrics exported on GCP console.

@psx95 psx95 requested a review from a team as a code owner May 15, 2025 22:09
@psx95 psx95 requested review from aabmass and dashpole May 15, 2025 22:10
@psx95 psx95 merged commit c671829 into GoogleCloudPlatform:main May 17, 2025
18 checks passed
@psx95 psx95 deleted the update-otlpmetrics-sample branch May 17, 2025 05:07
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