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

Fix GMP metric name handling #622

Merged
merged 4 commits into from Apr 7, 2023

Conversation

quentinmit
Copy link
Member

If OTLP metric data comes in with a URL-style metric name, the googlemanagedprometheus exporter will sanitize the name but forget to prepend the correct prometheus.googleapis.com/ prefix.

@quentinmit quentinmit requested a review from a team as a code owner April 7, 2023 19:33
Copy link
Contributor

@punya punya left a comment

Choose a reason for hiding this comment

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

Thanks Quentin!

@codecov
Copy link

codecov bot commented Apr 7, 2023

Codecov Report

Merging #622 (eb29886) into main (3e802e2) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #622   +/-   ##
=======================================
  Coverage   66.25%   66.25%           
=======================================
  Files          36       36           
  Lines        4264     4264           
=======================================
  Hits         2825     2825           
  Misses       1312     1312           
  Partials      127      127           
Impacted Files Coverage Δ
exporter/collector/metrics.go 67.29% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@aabmass aabmass merged commit 02fd6f2 into GoogleCloudPlatform:main Apr 7, 2023
25 checks passed
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.

None yet

3 participants