Skip to content
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

[receiver/elasticsearch]: fix the list of operations for which metrics are fetched on index level #16513

Conversation

aboguszewski-sumo
Copy link
Member

@aboguszewski-sumo aboguszewski-sumo commented Nov 29, 2022

Description:
When I introduced scraping the metrics on index level in #14748, I set the query parameters so that the receiver fetched only metrics related to search operations (which are query, fetch, scroll and suggest). I forgot to update that list as I added new metrics and datapoints. Because of that, most of metrics emitted by this receiver were sent with Golang's zero values (as this is a result of how JSONs are deserialised when a given field does not exist).

Please also note that the integration tests did not cover it, because they ignore the exact values of metrics.

Link to tracking Issue: #14635

Testing:
Manual (checking the values before and after the fix)

@djaglowski djaglowski merged commit 4107c6a into open-telemetry:main Dec 5, 2022
shalper2 pushed a commit to shalper2/opentelemetry-collector-contrib that referenced this pull request Dec 6, 2022
…s are fetched on index level (open-telemetry#16513)

fix: fix the list of operations for which metrics are fetched on index level
@plantfansam plantfansam mentioned this pull request Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants