-
Notifications
You must be signed in to change notification settings - Fork 299
GenAI: mark sampling-relevant attributes #2994
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
base: main
Are you sure you want to change the base?
Conversation
6ac16cc to
05eb438
Compare
|
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
|
This PR has been labeled as stale due to lack of activity. It will be automatically closed if there is no further activity over the next 14 days. |
JWinermaSplunk
left a comment
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!
wrisa
left a comment
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.
Added a couple of comments. Rest LGTM.
| it by default. Instrumentations MAY provide a way to enable | ||
| populating this attribute. | ||
|
|
||
| The following attributes can be important for making sampling decisions |
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.
Why gen_ai.request.model is missing ?
| recommended: when span kind is `CLIENT`. | ||
| sampling_relevant: true | ||
| - ref: server.port | ||
| sampling_relevant: true |
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.
gen_ai.request.model missing ?
Mark the following attributes sampling-relevant on all GenAI spans they appear
gen_ai.operation.namegen_ai.provider.namegen_ai.request.modelserver.addressserver.port(also add
gen_ai.provider.nameto embeddings spans - it seems it has been forgotten)