-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
component_discarded_events_total incorrect value on elasticsearch sink #19320
Comments
This is unfortunately somewhat of a known issue. The
|
Are there any plans to work on it? |
It's not on our immediate roadmap, but we would be happy to see PRs in this area 🙏 |
A note for the community
Problem
Elasticsearch sink exposes incorrect
component_discarded_events_total
metric value. Logs also displays incorrectcount
value.It seems that metric is incremented by the total events in requests value, e.g. if request has 3 events and 2 of them fails, metric is incremented by 3 (log message also shows 3). This means that it's not possible to know exact number of lost events.
Actually elasticsearch response returns failed items very nicely and valid failed items count be parsed quite easily. Here is example elasticsearch response:
Configuration
No response
Version
0.34.1
Debug Output
No response
Example Data
Additional Context
No response
References
No response
The text was updated successfully, but these errors were encountered: