-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Flag evaluation event #1440
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a couple of comments; otherwise, it looks good.
19453b5
to
97b68d8
Compare
FYI - you need to clean up the event group's id:
|
@lmolkova I took the suggestion to use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please take a look and also, could you please update main/schema-next.yaml (list renamed attributes there)?
This is pending still.
Added There are a couple changes I'm not sure how to make there (or if it's possible).
|
According to https://opentelemetry.io/docs/specs/otel/schemas/file_format_v1.1.0 it looks like you can rename |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a couple changes I'm not sure how to make there (or if it's possible).
We removed the span semconv entirely in favor of events
We renamed the event from feature_flag to event.feature_flag.evaluation
changelog entry is the best we can do today. Added some suggestions
Co-authored-by: Liudmila Molkova <[email protected]>
@dyladan This Looks good to merge, assuming the conversations are resolved. The yamllint error - let me know if we need to update the settings. We may be hitting limitations in YAML event definitions and "max line length" rules... |
I wish the yaml lint would tell me which line is failing. I can't find where the error is actually caused. I think it's likely the table that I inlined for the error values? But that's only 197 characters |
First draft of
feature_flag.evaluation
event from the feature flag semantic conventions working group. Based on proposal here: https://docs.google.com/document/d/1sBDD-uifx-Qy0NxtwRcrRAQ48sHQS9dTp6tpArQsoZg/editSummary of changes:
feature_flag.provider_name
withfeature_flag.provider.id
feature_flag.system
feature_flag
tofeature_flag.evaluation
feature_flag.evaluation
feature_flag.context.id
feature_flag.environment.id
feature_flag.flag_set.id
feature_flag.value
feature_flag.version
feature_flag.error.code
with values from https://openfeature.dev/specification/types/#resolution-detailsfeature_flag.reason
with values from https://openfeature.dev/specification/types/#resolution-details