RegisterAsyncReporter registers a reporter to produce metric values for only the listed descriptors. The returned function must be called when the metrics are no longer needed, which will remove the reporter. The returned method needs to be idempotent and concurrent safe.
(reporter AsyncMetricReporter, descriptors ...AsyncMetric)
| 67 | // the metrics are no longer needed, which will remove the reporter. The |
| 68 | // returned method needs to be idempotent and concurrent safe. |
| 69 | RegisterAsyncReporter(reporter AsyncMetricReporter, descriptors ...AsyncMetric) func() |
| 70 | |
| 71 | // EnforceMetricsRecorderEmbedding is included to force implementers to embed |
| 72 | // another implementation of this interface, allowing gRPC to add methods |
no outgoing calls