function-sdk-go icon indicating copy to clipboard operation
function-sdk-go copied to clipboard

Automatically setup basic otel/prometheus metrics

Open negz opened this issue 1 year ago • 3 comments

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?

negz avatar Sep 14 '23 21:09 negz