-
Notifications
You must be signed in to change notification settings - Fork 37
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
Custom Tracing & Metrics #1279
Comments
Thanks for creating this issue @fledgling-vish. I've got a couple of clarifying questions to better understand the requirements:
|
@tillrohrmann I was talking about adding custom tracing & metrics to restate server ( not the restate cluster). May be the right solve for this is to just add otel libraries to the restate server itself. From the restate-cluster, it might be a good idea to expose some service level metrics as opposed to just bucketing everything into ingress metrics. for example, if a service fail with a Terminal Error, it might be interesting to have it captured in a metric etc. |
We definitely intend to add this!
I think so, yes, at least for now |
I think a low hanging fruit that can unlock bunch of the points discussed here is to make sure we pass through the otel context propagated from the invoker: restatedev/sdk-java#76 The invoker right now is already passing a w3c trace context header to the sdk, we just need to make sure that the user can in their code access (using the otel APIs) this context and attach additional data to it. For example, in Java this roughly translates to adding the trace context to the current otel context. This is probably similar in the TS sdk. I'll open a similar issue in TS SDK, thanks for reporting @fledgling-vish |
Thanks @slinkydeveloper let me know if i can help with it. |
Hi Team,
Right now it's not possible to add custom traces & metrics in the restate server using restate API. I think it will be really helpful if we can support this feature. It will provide a streamlined way to do observability.
Some of the use cases it will support:
The text was updated successfully, but these errors were encountered: