# Whitespace control settings to simplify the definition of templates whitespace_control: trim_blocks: true lstrip_blocks: true # Configuration for the comment formatting comment_formats: rust: format: markdown prefix: "/// " trim: true remove_trailing_dots: true escape_square_brackets: true default_comment_format: rust params: schema_url: "https://opentelemetry.io/schemas/1.28.0" exclude_root_namespace: [] excluded_attributes: ["messaging.client_id"] templates: - pattern: attribute.rs.j2 filter: semconv_grouped_attributes($params) application_mode: single - pattern: metric.rs.j2 filter: semconv_grouped_metrics($params) application_mode: single - pattern: resource.rs.j2 filter: > semconv_signal("resource"; $params) | map(.attributes[]) | unique_by(.name) | sort_by(.name) | map({name, brief, examples, deprecated, requirement_level, stability, type}) application_mode: single - pattern: trace.rs.j2 filter: > semconv_signal("span"; $params) + semconv_signal("event"; $params) | map(.attributes[]) | unique_by(.name) | sort_by(.name) | map({name, brief, examples, deprecated, requirement_level, stability, type}) application_mode: single - pattern: lib.rs.j2 filter: . application_mode: single