Add tags to cloud OTel content package dashboards#19940
Conversation
✅ Elastic Docs Style Checker (Vale)No issues found on modified lines! The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale. |
Add a kibana/tags.yml to each cloud OTel content package so their dashboards are tagged with the cloud provider, the service, and OpenTelemetry. This makes the assets filterable and identifiable in Kibana for SAs and customers. Content packages tag assets via kibana/tags.yml (text + asset_types), mirroring the existing kubernetes_otel package; the kibana/tag/*.json saved-object form is only valid for integration packages. Relates elastic/obs-integration-team#1136
3073258 to
f4c8711
Compare
Add `alerting_rule_template` to the asset_types in kibana/tags.yml for packages that ship alert rule templates, so those assets get the same tags as the dashboards. Relates elastic/obs-integration-team#1136
Add `slo_template` to the asset_types in kibana/tags.yml for packages that ship SLO templates, so those assets get the same tags as the dashboards and alert rule templates. Relates elastic/obs-integration-team#1136
|
✅ All changelog entries have the correct PR link. |
💚 Build Succeeded
History
|
|
Tick the box to add this pull request to the merge queue (same as
|
|
Package aws_cloudtrail_otel - 0.3.0 containing this change is available at https://epr.elastic.co/package/aws_cloudtrail_otel/0.3.0/ |
|
Package aws_ec2_otel - 0.10.0 containing this change is available at https://epr.elastic.co/package/aws_ec2_otel/0.10.0/ |
|
Package aws_ecs_otel - 0.8.0 containing this change is available at https://epr.elastic.co/package/aws_ecs_otel/0.8.0/ |
|
Package aws_elb_metrics_otel - 0.9.0 containing this change is available at https://epr.elastic.co/package/aws_elb_metrics_otel/0.9.0/ |
|
Package aws_elb_otel - 0.3.0 containing this change is available at https://epr.elastic.co/package/aws_elb_otel/0.3.0/ |
|
Package aws_lambda_otel - 0.9.0 containing this change is available at https://epr.elastic.co/package/aws_lambda_otel/0.9.0/ |
|
Package aws_rds_otel - 0.9.0 containing this change is available at https://epr.elastic.co/package/aws_rds_otel/0.9.0/ |
|
Package aws_sqs_otel - 0.9.0 containing this change is available at https://epr.elastic.co/package/aws_sqs_otel/0.9.0/ |
|
Package aws_vpcflow_otel - 0.4.0 containing this change is available at https://epr.elastic.co/package/aws_vpcflow_otel/0.4.0/ |
|
Package aws_waf_otel - 0.3.0 containing this change is available at https://epr.elastic.co/package/aws_waf_otel/0.3.0/ |
|
Package azure_activity_otel - 0.2.0 containing this change is available at https://epr.elastic.co/package/azure_activity_otel/0.2.0/ |
|
Package azure_gateway_otel - 0.2.0 containing this change is available at https://epr.elastic.co/package/azure_gateway_otel/0.2.0/ |
|
Package gcp_audit_otel - 0.3.0 containing this change is available at https://epr.elastic.co/package/gcp_audit_otel/0.3.0/ |
|
Package gcp_vpcflow_otel - 0.3.0 containing this change is available at https://epr.elastic.co/package/gcp_vpcflow_otel/0.3.0/ |
Proposed commit message
Add a
kibana/tags.ymlto each cloud OpenTelemetry content package so their dashboards are tagged with the cloud provider, the service, andOpenTelemetry. This makes the assets easy to filter and identify in Kibana for SAs and customers.Content packages tag their assets via
kibana/tags.yml(text+asset_types: [dashboard]), mirroring the existingkubernetes_otelpackage. Note: thekibana/tag/*.jsonsaved-object + dashboard-referencesform referenced in the issue is only valid for integration packages; the content-package spec (additionalContents: false) does not allow akibana/tag/folder, sotags.ymlis used instead. As a consequence tag colors are not settable (Kibana auto-assigns them) and dashboards are not modified.Packages in this PR (14):
aws_cloudtrail_otel,aws_ec2_otel,aws_ecs_otel,aws_elb_metrics_otel,aws_elb_otel,aws_lambda_otel,aws_rds_otel,aws_sqs_otel,aws_vpcflow_otel,aws_waf_otel,azure_activity_otel,azure_gateway_otel,gcp_audit_otel,gcp_vpcflow_otel.Checklist
changelog.ymlfile.Author's Checklist
kibana/tags.ymland applied todashboardassets on install.How to test this PR locally
elastic-package buildin each changed package.cd packages/aws_ec2_otel && elastic-package install) against a running stack.AWS/service/OpenTelemetrytags are attached, and that the dashboards are discoverable by filtering on those tags.Related issues
Screenshots