Skip to content

Add tags to database OTel content package dashboards - #19941

Merged
giorgi-imerlishvili-elastic merged 5 commits into
elastic:mainfrom
giorgi-imerlishvili-elastic:add-otel-tags-databases
Jul 8, 2026
Merged

Add tags to database OTel content package dashboards#19941
giorgi-imerlishvili-elastic merged 5 commits into
elastic:mainfrom
giorgi-imerlishvili-elastic:add-otel-tags-databases

Conversation

@giorgi-imerlishvili-elastic

@giorgi-imerlishvili-elastic giorgi-imerlishvili-elastic commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Proposed commit message

Add a kibana/tags.yml to each database/datastore OpenTelemetry content package so their dashboards are tagged with the technology and OpenTelemetry. 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 existing kubernetes_otel package. Note: the kibana/tag/*.json saved-object + dashboard-references form referenced in the issue is only valid for integration packages; the content-package spec (additionalContents: false) does not allow a kibana/tag/ folder, so tags.yml is 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

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs. (N/A — content packages, no data streams)
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.
  • I have verified that any added dashboard complies with Kibana's Dashboard good practices (no dashboards were added or modified).

Author's Checklist

  • Tags are defined via kibana/tags.yml and applied to dashboard assets on install.

How to test this PR locally

  1. elastic-package build in each changed package.
  2. Install a package (e.g. cd packages/postgresql_otel && elastic-package install) against a running stack.
  3. In Kibana, open the package's dashboard(s) and confirm the technology/OpenTelemetry tags are attached, and that the dashboards are discoverable by filtering on those tags.

Related issues

Screenshots

01-top 02-mid 03-bottom
@giorgi-imerlishvili-elastic
giorgi-imerlishvili-elastic requested a review from a team as a code owner July 2, 2026 22:27
@giorgi-imerlishvili-elastic giorgi-imerlishvili-elastic added the enhancement New feature or request label Jul 2, 2026
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
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

✅ 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
@andrewkroh andrewkroh added Integration:redisenterprise_otel Redis Enterprise OpenTelemetry Assets Integration:mysql_otel MySQL OpenTelemetry Assets Integration:postgresql_otel PostgreSQL OpenTelemetry Assets Integration:cassandra_otel Cassandra OpenTelemetry Assets Integration:cockroachdb_otel CockroachDB OpenTelemetry Assets Integration:etcd_otel etcd OpenTelemetry Assets Integration:influxdb_otel InfluxDb OpenTelemetry Assets Integration:couchdb_otel CouchDB OpenTelemetry Assets Integration:microsoft_sqlserver_otel Microsoft SQL Server Assets Integration:oracle_otel Oracle OpenTelemetry Assets Integration:mongodb_otel MongoDB OpenTelemetry Assets Integration:redis_otel Redis OpenTelemetry Assets Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations] labels Jul 3, 2026
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
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

✅ All changelog entries have the correct PR link.

@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💚 Build Succeeded

History

cc @giorgi-imerlishvili-elastic

@mergify

mergify Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request
@giorgi-imerlishvili-elastic
giorgi-imerlishvili-elastic merged commit 04dddf1 into elastic:main Jul 8, 2026
9 checks passed
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Package cassandra_otel - 0.3.0 containing this change is available at https://epr.elastic.co/package/cassandra_otel/0.3.0/

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Package cockroachdb_otel - 0.3.0 containing this change is available at https://epr.elastic.co/package/cockroachdb_otel/0.3.0/

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Package couchdb_otel - 0.3.0 containing this change is available at https://epr.elastic.co/package/couchdb_otel/0.3.0/

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Package etcd_otel - 0.3.0 containing this change is available at https://epr.elastic.co/package/etcd_otel/0.3.0/

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Package influxdb_otel - 0.3.0 containing this change is available at https://epr.elastic.co/package/influxdb_otel/0.3.0/

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Package microsoft_sqlserver_otel - 0.3.0 containing this change is available at https://epr.elastic.co/package/microsoft_sqlserver_otel/0.3.0/

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Package mongodb_otel - 0.3.0 containing this change is available at https://epr.elastic.co/package/mongodb_otel/0.3.0/

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Package mysql_otel - 0.6.0 containing this change is available at https://epr.elastic.co/package/mysql_otel/0.6.0/

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Package oracle_otel - 0.4.0 containing this change is available at https://epr.elastic.co/package/oracle_otel/0.4.0/

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Package postgresql_otel - 0.5.0 containing this change is available at https://epr.elastic.co/package/postgresql_otel/0.5.0/

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Package redis_otel - 0.3.0 containing this change is available at https://epr.elastic.co/package/redis_otel/0.3.0/

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Package redisenterprise_otel - 0.3.0 containing this change is available at https://epr.elastic.co/package/redisenterprise_otel/0.3.0/

@giorgi-imerlishvili-elastic
giorgi-imerlishvili-elastic deleted the add-otel-tags-databases branch August 25, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Integration:cassandra_otel Cassandra OpenTelemetry Assets Integration:cockroachdb_otel CockroachDB OpenTelemetry Assets Integration:couchdb_otel CouchDB OpenTelemetry Assets Integration:etcd_otel etcd OpenTelemetry Assets Integration:influxdb_otel InfluxDb OpenTelemetry Assets Integration:microsoft_sqlserver_otel Microsoft SQL Server Assets Integration:mongodb_otel MongoDB OpenTelemetry Assets Integration:mysql_otel MySQL OpenTelemetry Assets Integration:oracle_otel Oracle OpenTelemetry Assets Integration:postgresql_otel PostgreSQL OpenTelemetry Assets Integration:redis_otel Redis OpenTelemetry Assets Integration:redisenterprise_otel Redis Enterprise OpenTelemetry Assets Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations]

4 participants