This is a tracking issue for the work involving migrating semconv to [Weaver schema v2](https://github.com/open-telemetry/weaver/blob/6ce99d96bb19559f0f0b7d88238b0d5fc12489ff/schemas/semconv-syntax.v2.md). In general we need to: - Migrate to new [definition syntax](https://github.com/open-telemetry/weaver/blob/6ce99d96bb19559f0f0b7d88238b0d5fc12489ff/schemas/semconv-syntax.v2.md) - Migrate scripts, templates, policies - Consider also moving them to [weaver packages](https://github.com/open-telemetry/opentelemetry-weaver-packages/) Plan - Start by migrating output and makefile targets 1. [x] Policies #3849 - @lmolkova 2. [ ] Update yaml and make it v2-migration friendly, keep v1 output - [ ] migrate groups like server, client, exception to v2 making them public group. Blocked on https://github.com/open-telemetry/weaver/pull/1584 - [ ] https://github.com/open-telemetry/semantic-conventions/pull/3904 - [ ] https://github.com/open-telemetry/semantic-conventions/pull/3905 - [ ] https://github.com/open-telemetry/semantic-conventions/pull/3903 - [ ] migrate zos entities to v2 with entity refinements - blocked on https://github.com/open-telemetry/weaver/pull/1589 - [ ] https://github.com/open-telemetry/semantic-conventions/pull/3851 4. [ ] Registry templates update - blocked on public groups v2 6. [ ] Update-markdown snippets templates 7. [x] generate-gh-issue-templates - @joaopgrassi - should be trivial, no blockers - https://github.com/open-telemetry/semantic-conventions/pull/3867 4. [x] check-dead-yaml - @joaopgrassi - should be trivial, no blockers - https://github.com/open-telemetry/semantic-conventions/pull/3878 5. [ ] generate-schema-next - This *could* be the time we start publishing v2 schema - dev and stable flavors - If it's blocked, we can switch it to v2 and still produce old schema files - this part should be trivial - *After* the output is on v2 (specifically p2 above - templates), we can continue updating definitions. - tip: use AI skill https://gist.github.com/lmolkova/6b54c77646488fa457c54894052e3df1 to migrate
This is a tracking issue for the work involving migrating semconv to Weaver schema v2.
In general we need to:
Plan