Resources
Release metadata
Pass release and commit context from your CI and deployment platforms.
Deployment platforms
Pass the immutable commit and release identifiers from your deployment process.
Pass the deployed commit SHA as the collector commit and use a tag, release number, or deployment identifier as the release. The values should come from the same deployment process that produced the running build.
Container builds
Pass release metadata into the runtime environment.
Inject immutable release metadata during the image build or deployment and expose it to the runtime. Do not rely only on a mutable environment name such as production.
Local development
Use an explicit local release label.
Use an explicit label such as local or a local build identifier and include the current commit when the working tree corresponds to it. Avoid inventing a production release for development traffic.
