8000 Jaeger 2.6 - Change service_name for prometheus exporter? · jaegertracing · Discussion #7179 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000

Jaeger 2.6 - Change service_name for prometheus exporter? #7179

Answered by wansors
wansors asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, thanks for your response.

After reviewing the code for the different options available, I found that I can use namespaces with both the Prometheus exporter and metric_backend. I successfully implemented namespace separation for a single Prometheus instance, though it required a small adjustment since Jaeger uses a default namespace called "traces_span_metrics" for exported metrics.

Here's the working configuration:

...
    jaeger_storage:
        metric_backends:
          some_metrics_storage:
            prometheus:
              endpoint: http://prometheus-service:80
             ...
              metric_namespace: tenant01_traces_span_metrics
...
    exporters:
      jaeger_storag…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@wansors
Comment options

Answer selected by wansors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
0