Skip to content

Dynamic labels for go-grpc-prometheus middleware #445

Open
@jzelinskie

Description

@jzelinskie

I hope this is the right place for this issue, as I know the repositories are in-flight.

We're implementing customer-facing metrics, so we'd like to be able to label requests with the customer associated with the request.

My naive suggestion is that the middleware take a callback for calculating additional labels.

@bwplotka recommended a workaround that might be possible: using wrapped registries with the middleware.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions