-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Stack Monitoring] Skip Prometheus monitoring collection test when running on cloud #138003
[Stack Monitoring] Skip Prometheus monitoring collection test when running on cloud #138003
Conversation
elasticmachine merge upstream |
…metheus-test-for-cloud-runs
Pinging @elastic/infra-monitoring-ui (Team:Infra Monitoring UI) |
I feel like we have more and more of these tests that are disabled in Cloud, should we maybe gather those somewhere and check what stops us from running those in Cloud and try to resolve that, you know to be more cloud first? |
There are some snapshot tests that fail on cloud, these could be refactored to compare only relevant fields. Another possibility could be removing fields that cause mismatches from the compared objects - if they are not relevant. In this case I think it could be adapted rather than skipped. For this PR tough we have 2 problems. First, and the main blocker, I think we can try to address these problems in follow up tickets |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
…stic#138003) Co-authored-by: Kibana Machine <[email protected]> (cherry picked from commit 837343a)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…stic#138003) (elastic#138633) Co-authored-by: Kibana Machine <[email protected]> (cherry picked from commit 837343a) Co-authored-by: Carlos Crespo <[email protected]>
…stic#138003) Co-authored-by: Kibana Machine <[email protected]>
Summary
This PR disables the Prometheus integration test for cloud runs.
In order for it to run it needs the environment to have a couple endpoints available, which are enabled in runtime by using a stub plugin and enabling Prometheus endpoint on the Kibana config file. However when running against a cloud deployment, there is nothing the test can do to enable them
Fixes #137740.