You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The service is currently developed using connectrpc, and then plugged into the package to get the metrics, like rpc_server_request_size_bytes_bucket{otel_scope_name="connectrpc.com/otelconnect",otel_scope_version="semver:0.6.0-dev",rpc_grpc_status_code="0",rpc_method="GetProject",rpc_service="projectService",rpc_system="grpc",le="0"} 0
but i want to read specific fields from the request header and add them to metrics (example: orgId), I wonder if this operation is supported?
Thanks, I understand that this can be done when customizing the metric, but I would like to know if there is a way to add custom attributes to the library's default metrics, such as the metric data provided with the requests_per_rpc prefix by default
The service is currently developed using connectrpc, and then plugged into the package to get the metrics, like
rpc_server_request_size_bytes_bucket{otel_scope_name="connectrpc.com/otelconnect",otel_scope_version="semver:0.6.0-dev",rpc_grpc_status_code="0",rpc_method="GetProject",rpc_service="projectService",rpc_system="grpc",le="0"} 0
but i want to read specific fields from the request header and add them to metrics (example: orgId), I wonder if this operation is supported?
the init code:
The text was updated successfully, but these errors were encountered: