-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add _total suffixes to prometheus counters #3360
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dashpole
added
the
pkg:exporter:prometheus
Related to the Prometheus exporter package
label
Oct 18, 2022
dashpole
force-pushed
the
prom_counter_total
branch
from
October 18, 2022 16:10
546157a
to
53714eb
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #3360 +/- ##
=======================================
- Coverage 77.9% 77.7% -0.2%
=======================================
Files 164 164
Lines 11345 11264 -81
=======================================
- Hits 8847 8763 -84
- Misses 2301 2303 +2
- Partials 197 198 +1
|
MrAlias
approved these changes
Oct 18, 2022
MadVikingGod
approved these changes
Oct 18, 2022
dashpole
force-pushed
the
prom_counter_total
branch
from
October 19, 2022 18:10
5d5b49f
to
bb230cd
Compare
dashpole
requested review from
jmacd,
Aneurysm9,
evantorrie,
XSAM,
pellared,
hanyuancheung and
dmathieu
as code owners
October 19, 2022 18:11
aramase
added a commit
to aramase/secrets-store-csi-driver
that referenced
this pull request
May 9, 2023
For prometheus counters, by default they're appending _total if it's monotonic counter. Removing the total_ prefix as it's redundant in the name (xref: open-telemetry/opentelemetry-go#3360). This is a breaking change. Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
aramase
added a commit
to aramase/secrets-store-csi-driver
that referenced
this pull request
May 9, 2023
For prometheus counters, by default they're appending _total if it's monotonic counter. Removing the total_ prefix as it's redundant in the name (xref: open-telemetry/opentelemetry-go#3360). This is a breaking change. Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
aramase
added a commit
to aramase/secrets-store-csi-driver
that referenced
this pull request
May 10, 2023
For prometheus counters, by default they're appending _total if it's monotonic counter. Removing the total_ prefix as it's redundant in the name (xref: open-telemetry/opentelemetry-go#3360). This is a breaking change. Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
aramase
added a commit
to aramase/secrets-store-csi-driver
that referenced
this pull request
May 18, 2023
For prometheus counters, by default they're appending _total if it's monotonic counter. Removing the total_ prefix as it's redundant in the name (xref: open-telemetry/opentelemetry-go#3360). This is a breaking change. Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
k8s-ci-robot
pushed a commit
to kubernetes-sigs/secrets-store-csi-driver
that referenced
this pull request
May 19, 2023
* chore: update otel to v0.38.1 and update metrics Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com> * drop the total_ prefix from the metric name For prometheus counters, by default they're appending _total if it's monotonic counter. Removing the total_ prefix as it's redundant in the name (xref: open-telemetry/opentelemetry-go#3360). This is a breaking change. Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com> * chore: bump k8s deps to v1.26.4 Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com> * skip lint for atomic writer files Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com> * update histogram boundaries Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com> * collect metrics as part of CI Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com> * validate metrics as part of e2e Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com> --------- Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #3359
Spec: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/data-model.md#sums-1