-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
Description
Component(s)
exporter/file
What happened?
Description
The fileexporter rotation propery does not seems to work if group by resoruce attribute is enabled. The files are divided properly following the group by setting, but never rotated even after going beyond the max MB limits several times over.
Steps to Reproduce
file/rotation_with_custom_settings:
format: json
group_by:
enabled: true
max_open_files: 1000
resource_attribute: service.name
path: /data/*
rotation:
localtime: true
max_backups: 100
max_days: 2
Expected Result
Invididual files are rotated.
Actual Result
Individua files just keep growing.
Collector version
opentelemetry-collector-contrib:0.136.0
Environment information
No response
OpenTelemetry Collector configuration
Log output
Additional context
No response
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.
Reactions are currently unavailable