Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't turn off APM for unwanted languages #1369

Open
nikhilro opened this issue Aug 26, 2024 · 4 comments
Open

Can't turn off APM for unwanted languages #1369

nikhilro opened this issue Aug 26, 2024 · 4 comments

Comments

@nikhilro
Copy link

Describe what happened:
In my operator, I'm using

          apm: {
            enabled: true,
            instrumentation: {
              enabled: true, // default is false
              libVersions: {
                js: 'v5.19.0',
              },
            },
          },

I would expect only JS init container would be added to my deployments. Instead, I see all the init containers being attached.

Describe what you expected:
I would expect only JS init container would be added to my deployments.

Steps to reproduce the issue:

          apm: {
            enabled: true,
            instrumentation: {
              enabled: true, // default is false
              libVersions: {
                js: 'v5.19.0',
              },
            },
          },

Additional environment details (Operating System, Cloud provider, etc):
EKS, Kubernetes 1.30.0

There is likely some setting I'm missing. Appreciate the help.

@aquiladayc
Copy link

Hi @nikhilro
Could replicate it with Cluster Agent version v7.49 or older. Do you use those? Will further look into github history but I confirmed it works with newer version.
If so, please update the cluster agent to latest one.
And you may need to set features.apm.instrumentation.enabledNamespaces too.

If you see further issue and need assistance, can you please share:
Operator version: helm list | grep datadog
DCA version and config: kubectl describe pod <cluster agent>

If you are uncomfortable to share it here or you want better tracking of this case, please feel free to reach support
https://www.datadoghq.com/support/

@nikhilro
Copy link
Author

nikhilro commented Sep 3, 2024

I'm on 1.6.1 for Datadog Operator. Will try upgrading to 1.8.0, seems that's the latest: https://github.com/DataDog/datadog-operator/releases/tag/v1.8.0. Thanks

@aquiladayc
Copy link

what's cluster agent version?

@nikhilro
Copy link
Author

nikhilro commented Sep 3, 2024

gcr.io/datadoghq/cluster-agent:7.51.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants