Skip to content

[Discover][OTel] Add accordion sections for Attributes tab #221927

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
9 tasks
kpatticha opened this issue May 29, 2025 · 0 comments
Open
9 tasks

[Discover][OTel] Add accordion sections for Attributes tab #221927

kpatticha opened this issue May 29, 2025 · 0 comments
Labels
needs-team Issues missing a team label

Comments

@kpatticha
Copy link
Contributor

kpatticha commented May 29, 2025

Summary

In OpenTelemetry, metadata are represented as Attributes. Elastic stores these attributes in document fields in these namespaces:

  • attributes.*: Span, LogRecord, Metric point, or Profile attributes, depending on the signal
  • resource.attributes.*: Resource attributes
  • scope.attributes.*: Instrumentation scope attributes

Some indexes for non-OpenTelemetry data have mappings for these attribute namespaces as well, so it's possible that any signal in Discover might have attribute fields.

Designs

Image

Acceptance criteria

  • Display 3 sections
    - {Signal} attributes (where Signal is Log, Span, etc.)
    - Resource attributes
    - Instrumentation scope attributes
  • The sections should have title, tooltip and a count (tooltip: TBD)
  • Accordion sections should be open by default
  • In each section should be a data table with 2 columns
    - Attribute
    - Value
  • Selected/Available/Empty
  • The attribute names should not display the whole namespace (resource.attributes.telemetry.sdk.language), but only the part of the field name belonging to the given attribute namespace: telemetry.sdk.language.
  • filtering controls should use the entire field name (T
  • Don't use pagination for the table
  • Reuse components from discover (filter controls, data table etc)
@botelastic botelastic bot added the needs-team Issues missing a team label label May 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-team Issues missing a team label
Projects
None yet
Development

No branches or pull requests

1 participant