MrAlias / otel-schema

Playground to prototype and investigate configuration schema proposals for OpenTelemetry
Apache License 2.0
2 stars 7 forks source link

Include config schema version #11

Closed jack-berg closed 1 year ago

jack-berg commented 1 year ago

We should include some sort of version specification in configuration files to help with parsing and schema evolution.

Example:

version: 0.1
sdk: ..
instrumentation ...

The idea of a document self describing the version it adheres to is pretty common. It shows up in docker compose files, kubernetes yaml and many other places.

codeboten commented 1 year ago

I agree this makes sense, i propose this as the first section of the config file we agree on and commit to the "official" kitchen sink :)