-
Notifications
You must be signed in to change notification settings - Fork 14
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
Automatically setup basic otel/prometheus metrics #20
Comments
for sure I'd go with prometheus metrics, https://github.com/grpc-ecosystem/go-grpc-middleware/tree/main/providers/prometheus feels like the suggested way to do that. |
@phisco I think there's an otel equivalent that gives traces and metrics. Could be worth considering. To be clear, the metrics are exposed in Prom-style |
yeah, not so straightforward: https://github.com/grpc-ecosystem/go-grpc-middleware/blob/71d7422112b1d7fadd4b8bf12a6f33ba6d22e98e/examples/server/main.go#L77 . |
What problem are you facing?
It would be neat if we could automatically wrap Functions with some basic observability (e.g. metrics, tracing). Ideally we'll need a format that could be consistent across Functions built in other in-demand languages - e.g. Python.
How could Crossplane help solve your problem?
There's a bunch of stuff in https://github.com/grpc-ecosystem - perhaps this SDK should start a gRPC server that uses one of the interceptors there to add at least basic Prometheus-style metrics?
The text was updated successfully, but these errors were encountered: