Skip to content

Commit

Permalink
fix feature gate names
Browse files Browse the repository at this point in the history
Signed-off-by: ChrsMark <[email protected]>
  • Loading branch information
ChrsMark committed Nov 27, 2024
1 parent 201428d commit f7dc50f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/non-normative/k8s-migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ updated to the stable K8s semantic conventions, they:
Specifically for the Opentelemetry Collector:

The transition will happen through two different feature gates.
One for enabling the new schema called `semconv.k8s.stable`,
and one for disabling the old schema called `semconv.k8s.legacy`. Then:
One for enabling the new schema called `semconv.k8s.enableStable`,
and one for disabling the old schema called `semconv.k8s.disableLegacy`. Then:

- On alpha the old schema is enabled, while the new schema is disabled
- On beta/stable the old schema is disabled, while the new is enabled
- On alpha the old schema is enabled by default (`semconv.k8s.disableLegacy` defaults to false),
while the new schema is disabled (`semconv.k8s.enableStable` defaults to false).
- On beta/stable the old schema is disabled (`semconv.k8s.disableLegacy` defaults to true),
while the new is enabled (`semconv.k8s.enableStable` defaults to true).
- It is an error to disable both

<!-- toc -->
Expand Down

0 comments on commit f7dc50f

Please sign in to comment.