Open toshi0607 opened 3 years ago
Hi @toshi0607
Thanks for reaching out!
The configuration you shared seems good, although it seems that you have one extra comma in the metrics parameter:
"kubernetes_external_secrets_last_sync_call_state",
Could you try to remove this extra comma and see if the agent picks up the annotations?
If this doesn't do the trick, please email our support team so they can investigate further with specific details from your environment.
Thank you!
Hi @Simwar, really thank you for the suggestion. After removing the comma, datadog agent started to collect metrics and our dashboard shows the metrics at last 🎉
In this case, what is the best way to debug? I compared docs and configs, tried agent commands in datadog-agent pods, and kubectled the logs of the datadog-agent. Please tell me the way to detect config error directly like checking the specific log, etc if available!
Please help me configure to scrape metrics from kubernetes-external-secrets controller.
Describe what happened:
I want to scrape prometheus metrics from a kubernetes-external-secretes controller, but it doesn't work.
metrics that I want to scrape
from https://github.com/external-secrets/kubernetes-external-secrets#metrics
Describe what you expected:
Datadog agent collects metrics
Steps to reproduce the issue:
I set up the controller like this.
In datadog agent pod,
agent configcheck
showsprometheus check
, but it only includesnamespace: datadog.cluster_agent
, notexternal-secrets
.Additional environment details (Operating System, Cloud provider, etc):