I successfully configured Tempo and Prometheus to display the Service Graph.
However, it shows information for all my environments.
All my metrics in prometheus have the label environment.
environment
So I added the following to tempo.yaml, under metrics_generator:
metrics_generator
processor: service_graphs: dimensions: - environment
But it didn’t work. Is this the correct way of doing it?
Hi @brunobastosg. What the metrics-generator does is take attributes that are present in spans and send them as metric labels. If the environment attribute is present, then it should be added to your metrics.
Thanks, that was it. I had to add the attribute to the span.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.