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

[Uptime] Add pod and container to monitor list query #35835

Conversation

justinkambic
Copy link
Contributor

Summary

This PR adds a test and additional information to our GraphQL schema/query to ensure that the desired Kubernetes and Container information are returned to the client for use with our inter-solution integrations.

Testing

If this PR is passing CI then it is largely safe to assume the changes will work.

To perform a real-world functional test, configure a Kubernetes pod and a Docker container for Heartbeat to monitor and ensure that the Pod's UID and container's ID are returned in the network requests for the Overview page.

@justinkambic justinkambic added chore v8.0.0 Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v7.2.0 labels Apr 30, 2019
@justinkambic justinkambic self-assigned this Apr 30, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/uptime

@elasticmachine
Copy link
Contributor

💔 Build Failed

@justinkambic justinkambic force-pushed the uptime_add-pod-and-container-to-monitor-list-query branch from 4345679 to 9f22cd0 Compare May 1, 2019 15:37
@justinkambic justinkambic force-pushed the uptime_add-pod-and-container-to-monitor-list-query branch from 85065d4 to 5d8bc84 Compare May 1, 2019 16:53
@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

Copy link
Contributor

@andrewvc andrewvc left a comment

Choose a reason for hiding this comment

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

LGTM

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@justinkambic justinkambic merged commit e7e4388 into elastic:master May 1, 2019
justinkambic added a commit to justinkambic/kibana that referenced this pull request May 1, 2019
* Add test to ensure that container.id and kubernetes information are returned from the adapter.

* Update GraphQL schema to reflect added Container fields.

* Update monitor list query to fetch additional container/kubernetes fields.

* Update API test fixtures to account for changed query.

* Add copyright header to file.
justinkambic added a commit that referenced this pull request May 1, 2019
* Add test to ensure that container.id and kubernetes information are returned from the adapter.

* Update GraphQL schema to reflect added Container fields.

* Update monitor list query to fetch additional container/kubernetes fields.

* Update API test fixtures to account for changed query.

* Add copyright header to file.
@justinkambic
Copy link
Contributor Author

Backported to:
7.x/7.2.0 8bc95ad
#35895

@justinkambic justinkambic deleted the uptime_add-pod-and-container-to-monitor-list-query branch May 1, 2019 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v7.2.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants