Skip to content

Add tags to database OTel content package dashboards#19941

Open
giorgi-imerlishvili-elastic wants to merge 2 commits into
elastic:mainfrom
giorgi-imerlishvili-elastic:add-otel-tags-databases
Open

Add tags to database OTel content package dashboards#19941
giorgi-imerlishvili-elastic wants to merge 2 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

@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
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown

✅ All changelog entries have the correct PR link.

@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💚 Build Succeeded

History

cc @giorgi-imerlishvili-elastic

@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
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]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants