Skip to content

Attributes missing from filter output #1553

Description

@thompson-tomo

Describe the bug
When i use the semconv_grouped_attributes filter, not all the attributes from semantic conventions are being included in the output. The options are defined at https://github.com/open-telemetry/weaver/blob/7e9d00bc050c4055b87ce42f2857e2f6e63f1a02/docs/codegen.md

To Reproduce
Steps to reproduce the behavior:

  1. Clone semconv repo
  2. Alter the attribute_namespace template so the filter is semconv_grouped_attributes
  3. Generate documents
  4. Observe the feature flag page is missing the feature_flag.provider_name attribute
  5. Add a debug output to the template ie {{ ctx.attributes }}
  6. Observe attribute is not in the output

Expected behavior
The weaver output (see attached) has the feature_flag.provider_name attribute

Additional context
PR where i noticed the issue is: open-telemetry/semantic-conventions#3836

Tip: React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions