class TelemetryInfo

Defined at line 379 of file ../../third_party/grpc/src/include/grpc/event_engine/event_engine.h

Public Methods

std::vector<size_t> AllWriteMetrics ()

Returns the list of write metrics that the endpoint supports.

The keys are used to identify the metrics in the GetMetricName and

GetMetricKey APIs. The current value of the metric can be queried by

adding a WriteEventSink to the WriteArgs of a Write call.

std::optional<absl::string_view> GetMetricName (size_t key)

Returns the name of the write metric with the given key.

If the key is not found, returns std::nullopt.

std::optional<size_t> GetMetricKey (absl::string_view name)

Returns the key of the write metric with the given name.

If the name is not found, returns std::nullopt.

std::shared_ptr<MetricsSet> GetMetricsSet (absl::Span<const size_t> keys)

Returns a MetricsSet with all the keys from

set.

std::shared_ptr<MetricsSet> GetFullMetricsSet ()

Returns a MetricsSet with all supported keys set.

void ~TelemetryInfo ()

Defined at line 381 of file ../../third_party/grpc/src/include/grpc/event_engine/event_engine.h