-
Notifications
You must be signed in to change notification settings - Fork 30
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
Remove the default metrics namespace/prefix for span RED metrics in Jaeger query #1072
Merged
Merged
Changes from 5 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
35b8a6f
queryfrontend: remove default RED metric namespace
frzifus e6bbf2a
tempostack: expose option to set RED Metrics namespace
frzifus 7840d11
switch to breaking change senario
frzifus bf1f91e
use old otel span metrics prefix
frzifus 2dc79f4
generate
frzifus 5d830df
fix changelog
frzifus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' | ||
change_type: breaking | ||
|
||
# The name of the component, or a single word describing the area of concern, (e.g. tempostack, tempomonolithic, github action) | ||
component: tempostack | ||
|
||
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). | ||
note: Use new default metrics namespace/prefix for span RED metrics in Jaeger query. | ||
|
||
|
||
# One or more tracking issues related to the change | ||
issues: [1072] | ||
|
||
# (Optional) One or more lines of additional information to render under the primary note. | ||
# These lines will be padded with 2 spaces and then inserted directly into the document. | ||
# Use pipe (|) for multiline entries. | ||
subtext: | | ||
frzifus marked this conversation as resolved.
Show resolved
Hide resolved
|
||
Use the new RED metrics default namespace `traces.span.metrics` for retrieval from Prometheus. | ||
Since OpenTelemetry Collector version 0.109.0 the default namespace is set to traces.span.metrics. | ||
The namespace taken into account by jaeger-query can be configured via a TempoStack CR entry. | ||
To achieve this the Operator will set the jaeger-query `--prometheus.query.namespace=` flag. | ||
Since Jaeger version 1.62, jaeger-query uses `traces.span.metrics` as default too. | ||
|
||
Example how to overwrite the default namespace with the old default before `0.109.0` by configuring it in the CR: | ||
frzifus marked this conversation as resolved.
Show resolved
Hide resolved
|
||
``` | ||
apiVersion: tempo.grafana.com/v1alpha1 | ||
kind: TempoStack | ||
... | ||
spec: | ||
template: | ||
queryFrontend: | ||
jaegerQuery: | ||
enabled: true | ||
monitorTab: | ||
enabled: true | ||
prometheusEndpoint: "http://myPromInstance:9090" | ||
redMetricsNamespace: "custom" | ||
``` | ||
More details can be found here: | ||
- https://github.com/jaegertracing/jaeger/pull/6007 | ||
- https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/34485 |
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
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
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
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
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
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
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
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
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
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
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
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
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.
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.
Is the fix also fixing monolithic?
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.
For me it looks like that was never supported? I can not find anything about the
STORAGE_METRICS_TYPE
.21054a4#diff-2dd4203d1e98f65856b756889e3b555cd1909bf0133911ad1cc7bf0667f8573bR295
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.
cc) @andreasgerstmayr
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.
yes, monolithic doesn't support red metrics at the moment