-
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] Update metrics-* index pattern #135382
Comments
Pinging @elastic/infra-monitoring-ui (Team:Infra Monitoring UI) |
Work to bring integrations package to a GA state is approaching and the naming of the dataset is one of the decision that has impact on other main tasks, I'd love to get consensus of the naming before we dive into these. The last discussion pointed at |
I don't see any strong reason against it, but I can't remember why the You say "will change" in the description, is it due to the package naming? |
The idea is to free the standard names so the PO packages will be able to use them and at the same time bake more context in the index names (more details here). Now whether PO packages will be able to specify the index naming is still tbd but a more precise naming for the stack monitoring ones remains a benefit |
Thanks for the refresher @klacabane ! SGTM - if naming is hard I could see maybe using version numbers at some point. For example, it's not clear how to differentiate two potential different otel schemas (perhaps an instrumentation point gets removed in code) if they're both But like you said naming there is still TBD, so shouldn't impact this issue. |
Summary
The initial Stack Monitoring expectations for the metrics-* index patterns generated by the integrations packages will change from
metrics-{product}.{metricset}-{namespace}
tometrics-{product}.stack_monitoring.{metricset}-{namespace}
. We should update the SM server code to fetch from this new pattern.This could be the only place that needs to be updated https://github.com/elastic/kibana/blob/main/x-pack/plugins/monitoring/server/lib/cluster/get_index_patterns.ts#L93
AC
metrics-{product}.stack_monitoring.{metricset}-{namespace}
patternThe text was updated successfully, but these errors were encountered: