-
Notifications
You must be signed in to change notification settings - Fork 942
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
OpenTelemetry Semantic Conventions for GenAI Operations - Support Overview #1174
Comments
User application may be configured to disable (not enable/suppress/sample-out/drop) HTTP/gRPC/underlying protocol. That's the main reason that OTel uses kind client, but also one of the reasons to have Other reasons to report
|
@lmolkova thank you for sharing more details about how those attributes would be used, it was helpful. I have updated the table with a better description of the current adoption state and suggestion for future changes. Considering that most Spring applications will have HTTP metrics and traces enabled, and that adding those HTTP attributes would require a major refactoring of the framework (including considerations for avoiding a raise in the time series due to information duplications), I think it would be beneficial to hear from the community a bit more about their observability needs and use cases that would require those additional attributes before making any change. In any case, I'd like to point out the overview above is to keep track of the work I've been doing right now as a contributor to this project for the initial observability support in Spring AI. It's not an official or even comprehensive roadmap, and it's definitely not a final task. It's a start :) |
took your demo for a spin. ping back when you've span events as I'll be interested to take a second look. |
This comment was marked as off-topic.
This comment was marked as off-topic.
@piotrooo /~https://github.com/ymtdzzz/otel-tui otherwise known as "missing 1000 github stars". It is technically an otel collector extension, bundled for convenience into one binary. |
Based on the Semantic Conventions 1.27.0. See docs.
This issue is to keep track of the work I've been doing for the Spring AI initial adoption of the OpenTelemetry Semantic Conventions for GenAI Operations.
Traces
Span Names
{gen_ai.operation.name}
{gen_ai.request.model}
Span Kinds
Span Attributes
Event Names
Event Attributes
Metrics
Metric: Token Usage
Metric: Operation Duration
The text was updated successfully, but these errors were encountered: