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

[Monitoring] Add tests to ensure mappings exist on metric fields #23958

Merged

Conversation

chrisronline
Copy link
Contributor

@chrisronline chrisronline commented Oct 10, 2018

Relates to #23862

NOTE: This will fail CI until the actual issues discovered are fixed.

While investigating #23862, it was discovered that some fields used for metric sets are not currently in the mappings (defined here). We need visibility into this so we can quickly react and fix so users aren't seeing empty graphs so this PR adds an api integration test that verifies all used metrics appear in appropriate mapping.

cc @ycombinator

@chrisronline chrisronline added the Team:Monitoring Stack Monitoring team label Oct 10, 2018
@chrisronline chrisronline self-assigned this Oct 10, 2018
@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@chrisronline
Copy link
Contributor Author

chrisronline commented Oct 16, 2018

Merged in elastic/elasticsearch#34392 to fix all of these.

@chrisronline
Copy link
Contributor Author

retest

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@chrisronline
Copy link
Contributor Author

retest

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@chrisronline
Copy link
Contributor Author

@tsullivan Any chance you can look this week?

Copy link
Member

@tsullivan tsullivan left a comment

Choose a reason for hiding this comment

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

LGTM!

@chrisronline chrisronline merged commit 27dee7e into elastic:master Oct 22, 2018
@chrisronline chrisronline deleted the monitoring/tests/mappings_exist branch October 22, 2018 14:12
chrisronline added a commit to chrisronline/kibana that referenced this pull request Oct 22, 2018
…stic#23958)

* Ensure mappings exist

* Add APM

* Remove unnecessary eslint disable comment

* Update snapshots
ryankeairns pushed a commit that referenced this pull request Oct 22, 2018
)

* Ensure mappings exist

* Add APM

* Remove unnecessary eslint disable comment

* Update snapshots
chrisronline added a commit that referenced this pull request Oct 23, 2018
) (#24333)

* Ensure mappings exist

* Add APM

* Remove unnecessary eslint disable comment

* Update snapshots
@chrisronline
Copy link
Contributor Author

Backport:

6.x: 52043e0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Monitoring Stack Monitoring team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants