-
Notifications
You must be signed in to change notification settings - Fork 82
Add OTel Hook #144
Copy link
Copy link
Closed
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Activity
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra 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:
afterstage: 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)errorstage, 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