-
Notifications
You must be signed in to change notification settings - Fork 46
Labels
good first issueGood for newcomersGood for newcomers
Description
The telemetry package should probably use the OTel semconv package for the consts below. The benefit of doing so is that updates to the semconv would generally require minimal changes to the telemetry package. Since the constants are already defined there, it does not make sense to redefine them in the telemetry package.
See the consts defined under the "feature_flag" namespace: https://pkg.go.dev/go.opentelemetry.io/[email protected]/semconv/v1.34.0#section-readme:~:text=Namespace%3A%20feature_flag
go-sdk/openfeature/telemetry/telemetry.go
Lines 27 to 36 in d7174f7
FlagKey string = "feature_flag.key" | |
ErrorTypeKey string = "error.type" | |
ResultValueKey string = "feature_flag.result.value" | |
ResultVariantKey string = "feature_flag.result.variant" | |
ErrorMessageKey string = "error.message" | |
ContextIDKey string = "feature_flag.context.id" | |
ProviderNameKey string = "feature_flag.provider.name" | |
ResultReasonKey string = "feature_flag.result.reason" | |
FlagSetIDKey string = "feature_flag.set.id" | |
VersionKey string = "feature_flag.version" |
aepfli and beeme1mr
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers