To properly support multiple registries with Weaver, we need to automatically generate the OTEL schema for a new version of a registry before packaging and publishing it. This issue focuses on defining the necessary steps to update the OTEL schema in an automated and controlled manner, based on changes described in the SemConv files.
Tasks:
A new file, otel-registry-manifest.yaml, located at the root of the models directory, will be used by Weaver to generate the next version of the OTEL schema and update the migration guides. The file will have the following structure:
EDIT: The following file structure has been revised based on the SemConv Tool SIG discussion.
# File otel-registry-manifest.yaml
name: <registry_name> # e.g., otel
description: <registry_description>
semconv_version: <registry_version> # e.g., 1.27.0
schema_base_url: <url> # e.g., https://opentelemetry.io/schemas/
# This file will be extended in the future to support multiple registries.
# Fields such as `registry_base_url`, `owners`, `maintainers`, `dependencies`, and more will be added later.
To properly support multiple registries with Weaver, we need to automatically generate the OTEL schema for a new version of a registry before packaging and publishing it. This issue focuses on defining the necessary steps to update the OTEL schema in an automated and controlled manner, based on changes described in the SemConv files.
Tasks:
otel-registry-manifest.yamland the new format for the deprecated field.A new file,
otel-registry-manifest.yaml, located at the root of the models directory, will be used by Weaver to generate the next version of the OTEL schema and update the migration guides. The file will have the following structure:EDIT: The following file structure has been revised based on the SemConv Tool SIG discussion.