diff --git a/src/core/ext/transport/chttp2/transport/chttp2_transport.h b/src/core/ext/transport/chttp2/transport/chttp2_transport.h index 1bfea72c128..b008e57135a 100644 --- a/src/core/ext/transport/chttp2/transport/chttp2_transport.h +++ b/src/core/ext/transport/chttp2/transport/chttp2_transport.h @@ -119,6 +119,15 @@ class HttpAnnotation : public CallTracerAnnotationInterface::Annotation { std::string ToString() const override; + Type http_type() const { return type_; } + Timestamp time() const { return time_; } + absl::optional transport_stats() const { + return transport_stats_; + } + absl::optional stream_stats() const { + return stream_stats_; + } + private: const Type type_; const Timestamp time_;