1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-08-15 20:03:15 +02:00

chore(semconv): Add PR number to changelog (#1323)

feat(semconv): Add DeploymentEnvironmentKey to semconv package
This commit is contained in:
Sean Schade
2020-11-16 12:29:28 -06:00
committed by GitHub
parent 3207770f88
commit 73a05393a0
2 changed files with 7 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- `EventOption` and the related `NewEventConfig` function are added to the `go.opentelemetry.io/otel` package to configure Span events. (#1254) - `EventOption` and the related `NewEventConfig` function are added to the `go.opentelemetry.io/otel` package to configure Span events. (#1254)
- A `TextMapPropagator` and associated `TextMapCarrier` are added to the `go.opentelemetry.io/otel/oteltest` package to test TextMap type propagators and their use. (#1259) - A `TextMapPropagator` and associated `TextMapCarrier` are added to the `go.opentelemetry.io/otel/oteltest` package to test TextMap type propagators and their use. (#1259)
- `SpanContextFromContext` returns `SpanContext` from context. (#1255) - `SpanContextFromContext` returns `SpanContext` from context. (#1255)
- `DeploymentEnvironmentKey` added to `go.opentelemetry.io/otel/semconv` package. (#1323)
- Add an opencensus to opentelemetry tracing bridge. (#1305) - Add an opencensus to opentelemetry tracing bridge. (#1305)
- Add a parent context argument to `SpanProcessor.OnStart` to follow the specification. (#1333) - Add a parent context argument to `SpanProcessor.OnStart` to follow the specification. (#1333)

View File

@@ -219,3 +219,9 @@ var (
CloudProviderAzure = CloudProviderKey.String("azure") CloudProviderAzure = CloudProviderKey.String("azure")
CloudProviderGCP = CloudProviderKey.String("gcp") CloudProviderGCP = CloudProviderKey.String("gcp")
) )
// Semantic conventions for deployment attributes.
const (
// Name of the deployment environment (aka deployment tier); e.g. (staging, production).
DeploymentEnvironmentKey = label.Key("deployment.environment")
)