1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-12 10:04:29 +02:00
opentelemetry-go/schema/v1.1/testdata/unsupported-file-format.yaml
Tigran Najaryan 071d317394
Fix incorrect "all" and "resource" definition for Schema File (#3777)
The "all" and "resource" sections had incorrect definitions of "attribute_rename"
transform. It was missing the subkey "attribute_map".

This is a bug fix and makes the implementation compliant with the spec:
https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/schemas/file_format_v1.1.0.md#resources-section

Related issue: https://github.com/open-telemetry/opentelemetry-specification/issues/3245

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2023-02-27 08:38:41 -08:00

12 lines
235 B
YAML

file_format: 1.2.0
schema_url: https://opentelemetry.io/schemas/1.1.0
versions:
1.1.0:
all:
changes:
- rename_attributes:
attribute_map:
k8s.cluster.name: kubernetes.cluster.name
1.0.0: