Closed jschwartzy closed 3 years ago
Hi,
/etc/datadog-agent/conf.d/istio.yaml
is a manually written file, the agent doesn't generate it. If you have wrong values in this file, you have to modify it yourself./etc/datadog-agent/conf.d/istio.yaml
file. If you want to use autodiscovery though, note that we see the following error in what you've pasted:annotation ad.datadoghq.com/endpoints.check_names is invalid: endpoints doesn't match a container identifier [discovery]
Indeed your istio container is called discovery
, so you should replace the following
- Annotations: ad.datadoghq.com/endpoints.check_names: ["istio"]
- ad.datadoghq.com/endpoints.init_configs: [{}]
- ad.datadoghq.com/endpoints.instances:
+ Annotations: ad.datadoghq.com/discovery.check_names: ["istio"]
+ ad.datadoghq.com/discovery.init_configs: [{}]
+ ad.datadoghq.com/discovery.instances:
[
{
"istiod_endpoint": "http://%%host%%::8080/metrics",
:
is istiod_endpoint
.Please open a support ticket if you need assistance with configuring the agent and/or the integration. Closing the issue as it doesn't appear to be a bug.
Output of the info page
Output of
/etc/datadog-agent/conf.d/istio.yaml
:Istio Deployment Info:
Additional environment details (Operating System, Cloud provider, etc):
Steps to reproduce the issue:
agent status
on the DataDog Agent podsDescribe the results you received: As shown above, the Istio integration is looking for Istio in the wrong namespace
Describe the results you expected: Istio should be located in the correct namespace
Additional information you deem important (e.g. issue happens only occasionally): This happens inconsistently. On some of our cluster nodes, the integration works as expected with the same version of Istio and DataDog Agent.
On a node that is working properly, the following output of
agent status
:The output of
/etc/datadog-agent/conf.d/istio.yaml
: