Hello,
I’m trying to enable datadog APM on my cluster however I cannot add manual annotations to my pod config file.
Basically I followed your guide and installed datadog agent to my cluster
by running
helm install -n datadog-agent -f datadog/production/datadog_values.yaml datadog/datadog
However when I check my agent config file I see that
apm_config:
apm_non_local_traffic: true
enabled: false
but since I dont have direct access to my pod. I cant make enabled: true
So I was curious if you have any easy way to enable APM ?
bchastanier
(Benjamin Chastanier)
January 4, 2024, 8:48am
2
Hello @bayramovanar !
We just released a dedicated new way of deploying Helm charts, here’s the announcement and documentation .
This way, you should be able to customize everything you need.
Let me know how it goes
Cheers !
Hello Benjanmin,
my infra agents are already working with manual helm.
using this guide Kubernetes observability and monitoring with Datadog | Qovery
But I am curious how to enable APM and modify my datadog agents.
bchastanier
(Benjamin Chastanier)
January 4, 2024, 10:56am
4
Do you mind sharing your datadog/production/datadog_values.yaml
along with on which pod you are seeing
Thanks !
my datadog_values.yaml
datadog:
apiKeyExistingSecret: datadog-secret
site: datadoghq.eu
podLabelsAsTags:
"qovery.com/*": "%%label%%"
logs:
enabled: true
containerCollectAll: true
apm:
instrumentation:
enabled: true
libVersions:
ruby: v1.15.0
containerExcludeLogs: "kube_namespace:kube-system kube_namespace:qovery kube_namespace:cert-manager kube_namespace:nginx-ingress kube_namespace:logging kube_namespace:prometheus"
clusterAgent:
admissionController:
enabled: true
mutateUnlabelled: true
remoteConfiguration:
enabled: true
and my agent configuration
bchastanier
(Benjamin Chastanier)
January 4, 2024, 11:29am
6
Are you seeing any metrics in your DD dashboard?
Yes I can see manually triggered metrics, all cluster specific metrics but not my APM
bchastanier
(Benjamin Chastanier)
January 4, 2024, 12:50pm
8
Looking at your values, I am not sure but there is an extra instrumentation
level under apm
, from charts values it seems that it shouldn’t be there.
Can you try setting:
apm:
enabled: true
libVersions:
ruby: v1.15.0
Let me know if it helps
it explicitly says
DEPRECATED. Use datadog.apm.portEnabled instead
But I did try yes. doesnt work.
bchastanier
(Benjamin Chastanier)
January 4, 2024, 4:21pm
10
You tried the following?
apm:
portEnabled: true
libVersions:
ruby: v1.15.0
bchastanier
(Benjamin Chastanier)
January 5, 2024, 8:54am
12
Did you try to set DD_APM_ENABLED=true
as env variable?
Also, we are updating our documentation regarding how to deploy DD fallowing our recent Helm support announcement, should be live within next few days.
But with Helm support we can install datadog agents per service right? Can we also install them cluster level?
bchastanier
(Benjamin Chastanier)
January 5, 2024, 9:14am
14
Yes of course, you do what you want. Usually I think you would install it cluster wide and pick / configure which namespaces / apps / labels to be monitored.
bchastanier
(Benjamin Chastanier)
January 5, 2024, 11:50am
15
system
(system)
Closed
March 26, 2024, 10:33am
16
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.