Closed dreaminghk closed 1 year ago
Hi, I find a work around for this problem. After the helm chart is deployed, we can manually modify the configMap and restart all the pods in the tempo namespace.
This should work just fine, what version of the chart are you deploying?
metricsGenerator:
enabled: true
config:
storage:
remote_write:
- url: http://mimir-distributed-gateway.mimir/api/v1/push
Your "trial 2" indentation is wrong, and the key is also wrong, trial 1 should have worked but did you indent correctly?
Thanks for your reply. Finally got it when I was trying to reply. There are invisible characters in the line of remote write and it is the reason.
I will close the thread. Thank you very much!
Hi guys, I have a problem with metric generator here.
Situation:
The metric generator is enabled and configured to send metrics to prometheus. But no metric is sent to prometheus, the metric-generator log is not indicating any metric was being sent. From the generated temo-config configMap, we can see the configMap is not taking the metricsGenerator.storage.remote_write values from values.yaml.
Version of helm chart:
Here is the values.yaml
This is the generated tempo-config configMap. The remote_write is empty here.
btw, the README.MD mentioned to use metricsGenerator.config.storage_remote_write instead of metricsGenerator.config.storage.remote_write which is available in the values.yaml. Also, the endpoint mentioned in the README.MD is /api/v1/push while the prometheus doc mentioned /api/v1/write. Which one is the correct endpoint if we need to write the metrics to Prometheus?
https://github.com/grafana/helm-charts/tree/main/charts/tempo-distributed#activate-metrics-generator
Thank you!