You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently we cannot globally limit number of logs, produced by the pipelines. The common mistake among the whole repository is that every request can result in a log in some consumer, which overrides logging pipelines. Yesterday I got the situation, such that collector started producing 150k logs/min because of exporter failure (which was external error actually).
Describe the solution you'd like
I think the best way to avoid such situations is adding config options for general logger, passed into every consumer.
This is already done in logging exporter and I like this as a way to limit logs
Is your feature request related to a problem? Please describe.
Currently we cannot globally limit number of logs, produced by the pipelines. The common mistake among the whole repository is that every request can result in a log in some consumer, which overrides logging pipelines. Yesterday I got the situation, such that collector started producing 150k logs/min because of exporter failure (which was external error actually).
Describe the solution you'd like
I think the best way to avoid such situations is adding config options for general logger, passed into every consumer.
This is already done in logging exporter and I like this as a way to limit logs
opentelemetry-collector/exporter/loggingexporter/factory.go
Lines 90 to 111 in 2c8915a
The text was updated successfully, but these errors were encountered: