Skip to content
New issue

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

Semconv schema: don't require attributes on metrics #308

Open
lmolkova opened this issue Mar 27, 2024 · 0 comments
Open

Semconv schema: don't require attributes on metrics #308

lmolkova opened this issue Mar 27, 2024 · 0 comments
Labels
bug Something isn't working semconv/model Related to the data model or YAML format of the semantic convention generator

Comments

@lmolkova
Copy link
Contributor

Json schema validation shows error when metrics is defined without attributes
image

with Missing property "attributes".yaml-schema: https://raw.githubusercontent.com/open-telemetry/build-tools/v0.24.0/semantic-conventions/semconv.schema.json

Metrics don't have to have attributes or may inherit them through extension mechanism.

@lmolkova lmolkova added bug Something isn't working semconv/model Related to the data model or YAML format of the semantic convention generator labels Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working semconv/model Related to the data model or YAML format of the semantic convention generator
Projects
Status: Improve YAML Schema
Development

No branches or pull requests

1 participant