parca-agent icon indicating copy to clipboard operation
parca-agent copied to clipboard

No ttl for label cache

Open dreamerlzl opened this issue 11 months ago • 1 comments

In previous versions of parca-agent (e.g. 0.31.0) there is a ttl for the label cache like 3 * profiling duration(so it's easier to profile specific pods at will by attaching a label to a pod + relabel_configs). Now after refactoring based on otel ebpf profiler, the TTL has been removed. Is this by design?

https://github.com/parca-dev/parca-agent/blob/v0.35.1/reporter/parca_reporter.go#L450

dreamerlzl avatar Jan 14 '25 01:01 dreamerlzl

No particular reason, we can definitely add TTL again!

brancz avatar Jan 14 '25 09:01 brancz

https://github.com/parca-dev/parca-agent/pull/3063

dreamerlzl avatar Jun 25 '25 04:06 dreamerlzl