-
Notifications
You must be signed in to change notification settings - Fork 872
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
Memory leak #441
Comments
Hi @romil-punetha! The image you shared in gitter caught my interest: because the image shows that the context store for the You mentioned in gitter that you are using the DataDog agent at the same time, so I tried that also, and I got the same issue (not the memory leak, but using Interestingly, if I swap the order of the OpenTelemetry and DataDog agents, then the OpenTelemetry agent uses direct field mapping, and the DataDog agent ends up using the Are you able to run the OpenTelemetry agent by itself without the DataDog agent to confirm whether that resolves the memory leak you are seeing? |
I ran it without the datadog agent, and i don't think there's a leak anymore. The memory footprint looks exactly like the one when only dd agent was injected. However, does this mean that I need to choose between using dd agent or the otel agent? Cuz I'm using them for different purposes. |
@romil-punetha Can you describe your use-case? What are those different purposes and why Otel agent cannot satisfy them both for you? |
@iNikem |
It is in general quite a bad idea to use several instrumenting agents at the same time. Especially those of very similar functionality, like DD and Otel. Have you considered using just Otel for both use-cases? DataDog certainly plans to migrate to Otel instrumentation. And it should be already possible to use Otel instrumentation and Collector and to ingest data into DataDog. Their support can help you with that as well, as Tyler mentioned in Gitter. |
Ok, will get in touch with them. |
@romil-punetha, this is great to hear (and a relief)! Sounds like we can close this, but keep us posted if you uncover anything new. |
There's probably a memory leak in the instrumentation jar. Two of the services required a revert, one of them as soon as 10 mins. Im attaching screenshots to show the performance after the code was deployed with instrumentation. Both these services were deployed at around 10.
Some of the common libraries are
The text was updated successfully, but these errors were encountered: