Create helpers to initialize and export gRPC metrics #13998
Labels
api: storage
Issues related to the Cloud Storage API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Starting with gRPC-v1.62.x there are cool metrics published via OTel:
https://github.com/grpc/grpc/blob/6d7a55890e076a3a8abc8185b6bf0153fcf9d179/include/grpcpp/ext/otel_plugin.h#L45-L58
We would like a simple function to initialize a metrics provider such that metrics related to the Storage library get exported to Cloud Monitoring. Presumably other libraries can use something similar.
Though we would probably need
>= v1.63.0
to provide good filtering:https://github.com/grpc/grpc/blob/bc470e47ad64ae94ba8baff01e75a7606ed1cd00/include/grpcpp/ext/otel_plugin.h#L125-L127
One issue is to figure out the right filtering function that works for universe domains, VPC-SC, and PSC.
storage.googleapis.com/Client
/
as a separator instead of the.
separators produced by gRPCCreateServiceTimeSeries()
The text was updated successfully, but these errors were encountered: