-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Support normalized metric names #4555
Support normalized metric names #4555
Conversation
Signed-off-by: albertteoh <see.kwang.teoh@gmail.com>
Signed-off-by: albertteoh <see.kwang.teoh@gmail.com>
Signed-off-by: albertteoh <see.kwang.teoh@gmail.com>
Signed-off-by: albertteoh <see.kwang.teoh@gmail.com>
Signed-off-by: albertteoh <see.kwang.teoh@gmail.com>
@@ -18,7 +18,7 @@ run-dev: _run-connector | |||
|
|||
# _run-connector is the base target to bring up the system required for SPM using the new OTEL spanmetrics connector. | |||
.PHONY: _run-connector | |||
_run-connector: export OTEL_IMAGE_TAG = latest | |||
_run-connector: export OTEL_IMAGE_TAG = 0.80.0 |
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.
Thought to fix the version for a more reliable user experience.
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #4555 +/- ##
==========================================
+ Coverage 97.03% 97.05% +0.02%
==========================================
Files 301 301
Lines 17817 17837 +20
==========================================
+ Hits 17289 17312 +23
+ Misses 423 421 -2
+ Partials 105 104 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
DCO? |
Ah, I must have missed signing one commit. Should be good now, thanks. |
Thanks for a fast fix. I'll be trying it out right away. 🚀 |
## Which problem is this PR solving? - Resolves jaegertracing#4547 ## Short description of the changes - Adds the following boolean parameters to declaratively determine whether the metric name should be modified to match normalization rules as defined [here](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/pkg/translator/prometheus/README.md): - `prometheus.query.normalize-calls` - `prometheus.query.normalize-duration` - Separate flags intentional to allow support for backwards compatibility with older OpenTelemetry Collector versions. A single flag is insufficient. - Motivated by a breaking change in: https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.80.0. --------- Signed-off-by: albertteoh <see.kwang.teoh@gmail.com> Signed-off-by: Afzal Ansari <afzal442@gmail.com>
Which problem is this PR solving?
Short description of the changes
prometheus.query.normalize-calls
prometheus.query.normalize-duration