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

Cherry-pick #17383 to 7.7: Remove dataType field of query metricset #17426

Merged
merged 1 commit into from
Apr 2, 2020

Conversation

ChrsMark
Copy link
Member

@ChrsMark ChrsMark commented Apr 2, 2020

Cherry-pick of PR #17383 to 7.7 branch. Original message:

What does this PR do?

This PRs moves prometheus.query.dataType field to prometheus.labels.dataType.

Why is it important?

prometheus.query.dataType is of type string however the mapping of prometheus.query.* is for float values (and actually is used to store metrics). This makes it unable to index events in Elasticsearch. Hence, prometheus.query.dataType should be moved under labels which are mapped as strings.

closes #17401

@ChrsMark ChrsMark self-assigned this Apr 2, 2020
@ChrsMark ChrsMark requested review from a team April 2, 2020 06:59
@ChrsMark ChrsMark added the Team:Platforms Label for the Integrations - Platforms team label Apr 2, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-platforms (Team:Platforms)

Copy link
Contributor

@ycombinator ycombinator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Backport LGTM.

@ChrsMark ChrsMark merged commit 407cd5a into elastic:7.7 Apr 2, 2020
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport review Team:Platforms Label for the Integrations - Platforms team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants