Add OTel Hook #28
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Now that OTel 2529 is merged, we should implement the Open Telemetry hook (currently exists as a stub).
Basically, this would entail creating a hook which:
after
stage: gets the current span and adds an appropriately named event (feature_flag
), with the attributes (feature_flag.key
,feature_flag.provider_name
, andfeature_flag.variant
)error
stage, records the exceptionIn pseudocode, this looks something like:
See: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/semantic_conventions/feature-flags.md
The text was updated successfully, but these errors were encountered: