Skip to content

Conversation

ChrsMark
Copy link
Member

@ChrsMark ChrsMark commented Sep 24, 2025

Proposed commit message

This PR updates the K8s Events related visualisations in order to use the data coming from the k8sevents receiver directly instead of handling the raw events that k8sobjects receiver collects.

This will fix the issue with the body.structured.* fields being non-searchable without an ES mapping being provided. See elastic/elastic-agent#9791 and #15127 for more information.

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.
  • 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

How to test this PR locally

Using elastic-package or by installing to a Serverless project:

curl -XPOST -H 'content-type: application/zip' -H 'kbn-xsrf: true' -H 'Authorization: ApiKey <redacted>' --data-binary @kubernetes_otel-1.2.0.zip https://test-k8s-otel-abcdfge.kb.us-east-1.aws.elastic.cloud/api/fleet/epm/packages

Related issues

Screenshots

Local Stack using elastic-package:

Screenshot 2025-09-24 at 12 55 35 PM

Serverless project:
Screenshot 2025-09-24 at 2 35 19 PM

Visualisations:

Screenshot 2025-09-24 at 2 52 01 PM Screenshot 2025-09-24 at 2 52 21 PM

@ChrsMark ChrsMark requested a review from a team as a code owner September 24, 2025 11:44
@ChrsMark ChrsMark force-pushed the tune_otel_k8s_dashboards branch from 318ac95 to dceabcd Compare September 24, 2025 11:46
@ChrsMark ChrsMark self-assigned this Sep 24, 2025
@ChrsMark ChrsMark requested a review from gizas September 24, 2025 11:46
@ChrsMark ChrsMark force-pushed the tune_otel_k8s_dashboards branch from dceabcd to 4d21b06 Compare September 24, 2025 11:47
@ChrsMark ChrsMark force-pushed the tune_otel_k8s_dashboards branch from 4d21b06 to 205129f Compare September 24, 2025 11:49
@andrewkroh andrewkroh added Integration:kubernetes_otel Kubernetes OpenTelemetry Assets dashboard Relates to a Kibana dashboard bug, enhancement, or modification. Team:obs-ds-hosted-services Observability Hosted Services team [elastic/obs-ds-hosted-services] labels Sep 24, 2025
@ChrsMark ChrsMark force-pushed the tune_otel_k8s_dashboards branch from 205129f to 1c04dd0 Compare September 24, 2025 12:34
@@ -0,0 +1,3 @@
errors:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: just write a comment for which error this exclusion was added

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done: f177c2e
Thank's!

@ChrsMark ChrsMark force-pushed the tune_otel_k8s_dashboards branch from 1c04dd0 to f177c2e Compare September 24, 2025 14:17
@elasticmachine
Copy link

💚 Build Succeeded

History

cc @ChrsMark

Copy link

@ChrsMark ChrsMark merged commit 81309e8 into main Sep 25, 2025
9 checks passed
@ChrsMark ChrsMark deleted the tune_otel_k8s_dashboards branch September 25, 2025 12:01
@elastic-vault-github-plugin-prod

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dashboard Relates to a Kibana dashboard bug, enhancement, or modification. Integration:kubernetes_otel Kubernetes OpenTelemetry Assets Team:obs-ds-hosted-services Observability Hosted Services team [elastic/obs-ds-hosted-services]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Kubernetes Otel] Update Events Visualisations for EDOT
4 participants