Add tags to database OTel content package dashboards - #19941
Conversation
Add a kibana/tags.yml to each database/datastore OTel content package so their dashboards are tagged with the technology 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
8551c9c to
f038495
Compare
✅ 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 `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 cassandra_otel - 0.3.0 containing this change is available at https://epr.elastic.co/package/cassandra_otel/0.3.0/ |
|
Package cockroachdb_otel - 0.3.0 containing this change is available at https://epr.elastic.co/package/cockroachdb_otel/0.3.0/ |
|
Package couchdb_otel - 0.3.0 containing this change is available at https://epr.elastic.co/package/couchdb_otel/0.3.0/ |
|
Package etcd_otel - 0.3.0 containing this change is available at https://epr.elastic.co/package/etcd_otel/0.3.0/ |
|
Package influxdb_otel - 0.3.0 containing this change is available at https://epr.elastic.co/package/influxdb_otel/0.3.0/ |
|
Package microsoft_sqlserver_otel - 0.3.0 containing this change is available at https://epr.elastic.co/package/microsoft_sqlserver_otel/0.3.0/ |
|
Package mongodb_otel - 0.3.0 containing this change is available at https://epr.elastic.co/package/mongodb_otel/0.3.0/ |
|
Package mysql_otel - 0.6.0 containing this change is available at https://epr.elastic.co/package/mysql_otel/0.6.0/ |
|
Package oracle_otel - 0.4.0 containing this change is available at https://epr.elastic.co/package/oracle_otel/0.4.0/ |
|
Package postgresql_otel - 0.5.0 containing this change is available at https://epr.elastic.co/package/postgresql_otel/0.5.0/ |
|
Package redis_otel - 0.3.0 containing this change is available at https://epr.elastic.co/package/redis_otel/0.3.0/ |
|
Package redisenterprise_otel - 0.3.0 containing this change is available at https://epr.elastic.co/package/redisenterprise_otel/0.3.0/ |
Proposed commit message
Add a
kibana/tags.ymlto each database/datastore OpenTelemetry content package so their dashboards are tagged with the technology 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 (12):
cassandra_otel,cockroachdb_otel,couchdb_otel,etcd_otel,influxdb_otel,microsoft_sqlserver_otel,mongodb_otel,mysql_otel,oracle_otel,postgresql_otel,redis_otel,redisenterprise_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/postgresql_otel && elastic-package install) against a running stack.OpenTelemetrytags are attached, and that the dashboards are discoverable by filtering on those tags.Related issues
Screenshots