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
Describe the bug
Elasticsearch supports version 9.7+ but some metrics were introduced at a later version(i.e. 9.10, 9.13). The current implementation has elasticsearch emitting 0 values for these metrics even if they are not supported when ran on 9.7. I proposed 3 pr's:
a new method to get the elasticsearch version via curl http://localhost:9200/ which would produce
a version check before emitting elasticsearch.indexing_pressure.memory.limit that was introduced in 7.10, easy view
a version check before emitting elasticsearch.node.shards.data_set.size that was introduced in 7.13.0, easy view
This can be validated by showing the integration test 7.9 having 0 metrics values for the above metrics. Then each pr the metric will be removed for 9.7 integration test while still being populating for the 7.16 integration test.
Documentation on available metrics for each elasticsearch version should be added in the README
Steps to reproduce
Running the es collector on 9.7 and getting 0 value metrics for the above metrics when they are not supported.
What did you expect to see?
Running the es collector on 9.7 and getting no metrics for the above metrics.
What did you see instead?
Running the es collector on 9.7 and getting 0 value metrics for the above metrics when they are not supported.
What version did you use?
elasticsearchreceiver v0.59.0
The text was updated successfully, but these errors were encountered:
Describe the bug
Elasticsearch supports version 9.7+ but some metrics were introduced at a later version(i.e. 9.10, 9.13). The current implementation has elasticsearch emitting 0 values for these metrics even if they are not supported when ran on 9.7. I proposed 3 pr's:
curl http://localhost:9200/
which would produceelasticsearch.indexing_pressure.memory.limit
that was introduced in 7.10, easy viewelasticsearch.node.shards.data_set.size
that was introduced in 7.13.0, easy viewThis can be validated by showing the integration test 7.9 having 0 metrics values for the above metrics. Then each pr the metric will be removed for 9.7 integration test while still being populating for the 7.16 integration test.
Documentation on available metrics for each elasticsearch version should be added in the README
Steps to reproduce
Running the es collector on 9.7 and getting 0 value metrics for the above metrics when they are not supported.
What did you expect to see?
Running the es collector on 9.7 and getting no metrics for the above metrics.
What did you see instead?
Running the es collector on 9.7 and getting 0 value metrics for the above metrics when they are not supported.
What version did you use?
elasticsearchreceiver v0.59.0
The text was updated successfully, but these errors were encountered: