Skip to content

The semconv_grouped_events filter does not work #1437

@thompson-tomo

Description

@thompson-tomo

Describe the bug
I am attempting to generate event names for the ruby semantic conventions library but it is failing as the command can not be found. The process is described in https://github.com/open-telemetry/weaver/blob/7e9d00bc050c4055b87ce42f2857e2f6e63f1a02/docs/codegen.md#understanding-filters

To Reproduce
Steps to reproduce the behavior:

  1. Add the following to your weaver config
  - template: "stable_attrs.j2"
    filter: >
      semconv_grouped_events({
        "stable_only": true,
        "exclude_deprecated": true,
        "exclude_root_namespace": ["url", "network"]
      })
    application_mode: each

  1. Run weaver generatiom
  2. Observe error

Expected behavior
To be able to get all events like I can for metrics.

Additional context
It appears the functionality is missing from https://github.com/open-telemetry/weaver/blob/7e9d00bc050c4055b87ce42f2857e2f6e63f1a02/defaults/jq/semconv.jq

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

Labels

filter engineThis represents an issue discussing our filter syntax, e.g. anything about JQ helper methods.
No fields configured for Feature.

Projects

Status
Next Release

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions