Skip to content

[K8s otel] Add exception handling for unmapped fields#19816

Open
agithomas wants to merge 2 commits into
elastic:mainfrom
agithomas:issue-obs-intg-1128
Open

[K8s otel] Add exception handling for unmapped fields#19816
agithomas wants to merge 2 commits into
elastic:mainfrom
agithomas:issue-obs-intg-1128

Conversation

@agithomas

Copy link
Copy Markdown
Contributor
  • Enhancement

Proposed commit message

An unmapped field is a field referenced in a query that does not exist in the mapping of the index being queried.

Certain metric points, especially related to errors, are available when the criteria are met. Also, certain resource attributes are optionally available. Add the following exception handling to avoid dashboards showing errors.

Add SET unmapped_fields="nullify";

  • Determines how unmapped fields are treated. NULLIFY : Treats unmapped fields as null values.

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

Author's Checklist

  • Package upgrade testing
  • Data view tests.

How to test this PR locally

  • elastic-package build && elastic-package stack up -v -d --services package-registry

@github-actions

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.

@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

@agithomas agithomas marked this pull request as ready for review June 29, 2026 06:44
@agithomas agithomas requested a review from a team as a code owner June 29, 2026 06:44
@andrewkroh andrewkroh added dashboard Relates to a Kibana dashboard bug, enhancement, or modification. Integration:kubernetes_otel Kubernetes OpenTelemetry Assets Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations] labels Jun 29, 2026
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-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants