We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Erlang uses exact match for stability
opentelemetry-erlang/apps/opentelemetry_semantic_conventions/makefile
Line 38 in 1a8bb51
It works great for stable level, but we're adopting other levels (open-telemetry/semantic-conventions#1096) in semconv and starting to use development, rc.
development
rc
You can either leverage new semconv_grouped_attributes helper in weaver
semconv_grouped_attributes
(e.g. here's how Java uses it)
- pattern: SemanticAttributes.java.j2 filter: > semconv_grouped_attributes({ "exclude_root_namespace": $excluded_namespaces, "exclude_stability": ["experimental"] # experimental here is fine, weaver matches all non-stable things to it }) | map({ root_namespace: .root_namespace, attributes: .attributes, excluded_attributes: $excluded_attributes })
or replace logic inside
opentelemetry-erlang/apps/opentelemetry_semantic_conventions/templates/registry/erlang/semantic_attributes.hrl.j2
Line 18 in 1a8bb51
E.g. you might find weaver experimental and other similar helpers useful.
experimental
{% if attribute is experimental %} ... {% if attribute is stable%}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Erlang uses exact match for stability
opentelemetry-erlang/apps/opentelemetry_semantic_conventions/makefile
Line 38 in 1a8bb51
It works great for stable level, but we're adopting other levels (open-telemetry/semantic-conventions#1096) in semconv and starting to use
development
,rc
.You can either leverage new
semconv_grouped_attributes
helper in weaver(e.g. here's how Java uses it)
or replace logic inside
opentelemetry-erlang/apps/opentelemetry_semantic_conventions/templates/registry/erlang/semantic_attributes.hrl.j2
Line 18 in 1a8bb51
E.g. you might find weaver
experimental
and other similar helpers useful.The text was updated successfully, but these errors were encountered: