Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

[stable/datadog] Set DATADOG_HOST automatically #22723

Closed
PSanetra opened this issue Jun 9, 2020 · 3 comments
Closed

[stable/datadog] Set DATADOG_HOST automatically #22723

PSanetra opened this issue Jun 9, 2020 · 3 comments
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@PSanetra
Copy link

PSanetra commented Jun 9, 2020

When setting up the Cluster Agent external metric server it is necessary to define DATADOG_HOST if you are using an EU account.

I think this environment variable should default to https://api.{{ .Values.datadog.site }}.

See https://docs.datadoghq.com/agent/cluster_agent/external_metrics/#custom-metrics-server and https://github.com/zorkian/go-datadog-api/blob/9e2c892691035a7685a16d5839910cfc54e42fb6/client.go#L55

@stale
Copy link

stale bot commented Jul 11, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

@stale stale bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 11, 2020
@stale
Copy link

stale bot commented Jul 25, 2020

This issue is being automatically closed due to inactivity.

@stale stale bot closed this as completed Jul 25, 2020
@BitProcessor
Copy link

BitProcessor commented Dec 2, 2020

Still needed in version: 2.4.31 of the Helm chart:

    clusterAgent:
      env:
      - name: DATADOG_HOST
        value: "https://app.datadoghq.eu" 
      enabled: true
      metricsProvider:
        enabled: true

Not possible to set this parameter otherwise:
https://github.com/DataDog/helm-charts/blob/master/charts/datadog/templates/cluster-agent-deployment.yaml

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

2 participants