Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use registerer for gRPC opts and endpoints
The EndpointSet and StoreGRPC options accept concrete *prometheus.Registry type. This makes it hard to create multiple instances of them because they will try to register the same metrics and the registry will panic. This commit changes the type to a prometheus.Registerer which allows clients to inject a prefixed registry and get metrics for each instance. Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
- Loading branch information