Opentelemetry-specification: Define the metrics that we expect to capture from RPC integrations

Created on 20 Mar 2020  路  5Comments  路  Source: open-telemetry/opentelemetry-specification

_This is out of scope for beta, in scope for RC and beyond_

While we have (somewhat) clear expectations of the spans and annotations that we expect tracing integrations to capture from RPC clients and servers, this isn't the case for metrics integrations. I propose that RPC integrations should capture the following metrics by default:

  • Request / response latency, in milliseconds
  • Throughput, in queries per second, broken down by status / response code
semantic-conventions p2 required-for-ga metrics

Most helpful comment

@fbogsany would queries per second with aggregation by status code (or equivalent) satisfy that?

All 5 comments

Errors per second?

@fbogsany would queries per second with aggregation by status code (or equivalent) satisfy that?

I think there are many metrics that could be generated on the back end out of the received spans & traces. Duplicating these metrics on the client side might be helpful in case we sample though.

@fbogsany edited the issue to specify that QPS metrics should be broken down by status code
@Oberon00 edited the issue to specify that this should be done for clients and servers

Was this page helpful?
0 / 5 - 0 ratings