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 instance and job in prometheus, and document honor_labels #1130

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

mariomac
Copy link
Contributor

@mariomac mariomac commented Sep 4, 2024

Renaming target_instance Prometheus to instance. Also the job attribute has been added to Prometheus.

Now, all the metrics are consistent, no matter they are exported via OTEL or Prometheus.

@codecov-commenter
Copy link

codecov-commenter commented Sep 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.05%. Comparing base (85dfbd4) to head (aced4f7).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1130      +/-   ##
==========================================
+ Coverage   81.96%   82.05%   +0.08%     
==========================================
  Files         141      141              
  Lines       11586    11588       +2     
==========================================
+ Hits         9496     9508      +12     
+ Misses       1564     1557       -7     
+ Partials      526      523       -3     
Flag Coverage Δ
integration-test 57.38% <100.00%> (+0.08%) ⬆️
k8s-integration-test 59.31% <100.00%> (+0.19%) ⬆️
oats-test 36.95% <42.85%> (+0.02%) ⬆️
unittests 52.39% <92.85%> (+0.05%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@grcevski grcevski left a comment

Choose a reason for hiding this comment

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

LGTM!

@mariomac mariomac merged commit 0613ce6 into grafana:main Sep 4, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants