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

[SLO] Adding Data Views to index pattern selector #158033

Merged
merged 3 commits into from May 18, 2023

Conversation

simianhacker
Copy link
Member

Summary

This PR adds support for picking Data Views to the index selector for the Custom KQL indicator. However, this doesn't actually attach the Data View to the SLO definition, this is only a convenient way to re-use the index pattern defined in the Data View. Keep in mind that if a user updates a Data View, they will need to update the SLO as well since the SLO service uses transforms behind the scenes; transforms do not support Kibana Data Views and there isn't a way to detect when the Data View is updated to re-create the transform.

This PR also filters out hidden indices OR indices whose names are prefixed with a dot.

image

@simianhacker simianhacker added release_note:enhancement Team: Actionable Observability - DEPRECATED For Observability Alerting and SLOs use "Team:obs-ux-management", for AIops "Team:obs-knowledge" v8.9.0 labels May 17, 2023
@apmmachine
Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@simianhacker simianhacker changed the title Adding Data Views to index pattern selector [SLO] Adding Data Views to index pattern selector May 17, 2023
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
observability 410 411 +1

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
observability 972.3KB 973.2KB +917.0B
Unknown metric groups

ESLint disabled line counts

id before after diff
enterpriseSearch 19 21 +2
securitySolution 400 404 +4
total +6

Total ESLint disabled count

id before after diff
enterpriseSearch 20 22 +2
securitySolution 480 484 +4
total +6

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@simianhacker simianhacker marked this pull request as ready for review May 18, 2023 13:56
@simianhacker simianhacker requested a review from a team as a code owner May 18, 2023 13:56
@elasticmachine
Copy link
Contributor

Pinging @elastic/actionable-observability (Team: Actionable Observability)

Copy link
Contributor

@kdelemme kdelemme left a comment

Choose a reason for hiding this comment

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

LGTM!

@simianhacker simianhacker merged commit a9b13c0 into elastic:main May 18, 2023
17 checks passed
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label May 18, 2023
delanni pushed a commit to delanni/kibana that referenced this pull request May 25, 2023
## Summary

This PR adds support for picking Data Views to the index selector for
the Custom KQL indicator. However, this doesn't actually attach the Data
View to the SLO definition, this is only a convenient way to re-use the
index pattern defined in the Data View. Keep in mind that if a user
updates a Data View, they will need to update the SLO as well since the
SLO service uses transforms behind the scenes; transforms do not support
Kibana Data Views and there isn't a way to detect when the Data View is
updated to re-create the transform.

This PR also filters out hidden indices OR indices whose names are
prefixed with a dot.

<img width="953" alt="image"
src="https://github.com/elastic/kibana/assets/41702/ef477f63-f89d-4733-aa19-95138d735967">
@simianhacker simianhacker deleted the slo-data-view-support branch April 17, 2024 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:enhancement Team: Actionable Observability - DEPRECATED For Observability Alerting and SLOs use "Team:obs-ux-management", for AIops "Team:obs-knowledge" v8.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants