Comments (4)
This ask is rather vague.
OpenTelemetry does not "manage memory" per-se. Go manages memory.
We do have benchmarks that track allocations though.
They run on new releases, and manually on an as-needed basis in PRs.
Investigating this would require looking into what exactly is using memory within your application.
That may be due to otel (like anything, it does have a memory and cpu footprint). It could also be that you were stretched too thin in term of resources.
Without more information, I'm afraid there isn't much more we can do here.
from opentelemetry-go.
Could you please provide us with any documentation or knowledge regarding how OpenTelemetry manages memory?
I think it would be an overkill. You can always read the codebase.
After implementing OpenTelemetry to record metrics, we noticed a significant increase in memory usage in our pods deployed on Kubernetes, leading to OoMKilled issues.
We cannot do anything without repro steps or profiling data.
from opentelemetry-go.
There's definitely a problem with memory allocations/usage in 1.27
Since I upgraded from 1.24 to 1.27 my service uses more memory, this is from pprof, I hope it can help
from opentelemetry-go.
Please provide the example code that you used to generate that graphic. I mean not aware of a function in this project called AddTagToContext
. It looks like an inlining to grow
is happening there. Understanding of that call sight is needed to begin addressing this.
from opentelemetry-go.
Related Issues (20)
- Add an sdk/internal/x package
- Internal logger.Emit delegate never gets loaded HOT 6
- Data Race: exemplars share rand source without synchronization
- Update .golangci.yml HOT 1
- IDGenerator may generate zero TraceId / SpanId HOT 1
- Build Error: nonRecordingSpan and recordingSpan do not implement trace.Span due to missing AddLink method HOT 4
- The codespell GitHub workflow doesn't work as expected HOT 2
- Warn users when boolean environment variable fallback happens
- Use `capitalizations-path` flag in `semconvgen` to properly capitalize semantic conventions
- Address Semantic Convention Assumptions
- baggage.New panics on members with values including 0x80 char HOT 1
- Marshal log record as JSON HOT 1
- Synchronous gauges should get exposed at ongoing current timestamps, not the timestamp of the last Record() call
- Check for instantiation of generic for type inference. HOT 1
- Baggage propagation - replace invalid percent-encoded octet sequnces with replacement char HOT 5
- otlpmetrichttp exporter is sending generic error msg instead of actual collector msg in case of using loadbalancer exporter HOT 1
- Performance vs. Prometheus SDK HOT 6
- errors.Is and errors.As overhead on hot path HOT 2
- Explicit sign of dropped spans HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opentelemetry-go.