[processor/resourcedetection] support for periodically do detect action #34876
Labels
enhancement
New feature or request
processor/resourcedetection
Resource detection processor
Stale
waiting for author
Component(s)
processor/resourcedetection
Is your feature request related to a problem? Please describe.
When user is using
consul
detector and the resource attributes of consul changed, otel col will still using out-dated attributes unless restart otel col.Describe the solution you'd like
opentelemetry-collector-contrib/processor/resourcedetectionprocessor/config.go
Line 43 in 3099e8e
start
logical withTimeTicker
to get resource attributes ifDetectInterval
great than0ms
opentelemetry-collector-contrib/processor/resourcedetectionprocessor/resourcedetection_processor.go
Line 33 in 3099e8e
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: