Closed thomas-weishaupl-rft closed 2 years ago
Hi @thomas-weishaupl-rft, thanks for reaching out! You might be missing the ad_identifiers:
section in the conf.yaml files, which is used to define container identifiers for the agent to properly interpolate the template variables and run the check. Please see our autodiscovery documentation for files here: https://docs.datadoghq.com/containers/kubernetes/integrations/?tab=file
To investigate your issue further, can you please open a support ticket? I'll close this issue for now while our Support team assists you.
Output of the info page
Additional environment details (Operating System, Cloud provider, etc):
Steps to reproduce the issue:
Describe the results you received: are not able to scrap metric from host endpoint as url does not translate into valid url host variable does not get replaced
Describe the results you expected: connect to host endpoint and scrap metric from host
Additional information you deem important (e.g. issue happens only occasionally): based on https://www.datadoghq.com/blog/monitor-prometheus-metrics/ the
%%host%%
should be a valid variableis there another way to use the env variable DD_KUBERNETES_KUBELET_HOST as target host to scrap metrics from?