If ES responds with an error (e.g., because of a type issue), this isn't visible in any metric (only an error log is generated). Because of this, monitoring solutions based on metrics scraping (like Prometheus) can't detect this issue. This patch increases num_errors metric if there are errors in response from ES in the data stream output.
(check all that apply)
[ ] tests added
[x] tests passing
[ ] README updated (if needed)
[ ] README Table of Contents updated (if needed)
[x] History.md and version in gemspec are untouched
[x] backward compatible
[ ] feature works in elasticsearch_dynamic (not required but recommended)
If ES responds with an error (e.g., because of a type issue), this isn't visible in any metric (only an error log is generated). Because of this, monitoring solutions based on metrics scraping (like Prometheus) can't detect this issue. This patch increases num_errors metric if there are errors in response from ES in the data stream output.
(check all that apply)
version
in gemspec are untouchedelasticsearch_dynamic
(not required but recommended)