newrelic-experimental / monitoring-kubernetes-with-opentelemetry

Apache License 2.0
9 stars 6 forks source link

Improve memory usage #176

Open utr1903 opened 1 month ago

utr1903 commented 1 month ago

Summary

The filterprocessor for each team increases the memory consumption. When the amount of namespaces are too much, the memory usage skyrockets and keeps making the collector pods OOMKilled.

Desired Behavior

Flexibility to fine-tune memory consumption.

Possible Solution

  1. Migrate from filterprocessor to routingconnector
  2. Tune GOMEMLIMIT(#144)

Additional context