# README
These source code are copied and adapted from http://github.com/grpc-ecosystem/go-grpc-prometheus/ with open source license Apache-2.0.
# Functions
ClearEndpointCount clears previous records of service endpoint count.
EnableClientHandlingTimeHistogram turns on recording of handling time of RPCs.
EnableHandlingTimeHistogram turns on recording of handling time of RPCs for server-side interceptors.
RecordEndpointCount records each service's instance count known to this client.
PreregisterServices takes a gRPC server and pre-initializes all counters to 0.
StreamClientInterceptor is a gRPC client-side interceptor that provides Prometheus monitoring for Streaming RPCs.
StreamServerInterceptor is a gRPC server-side interceptor that provides Prometheus monitoring for Streaming RPCs.
UnaryClientInterceptor is a gRPC client-side interceptor that provides Prometheus monitoring for Unary RPCs.
UnaryServerInterceptor is a gRPC server-side interceptor that provides Prometheus monitoring for Unary RPCs.
WithHistogramBuckets allows you to specify custom bucket ranges for histograms if EnableHandlingTimeHistogram is on.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
Enable flag: -skylb-alive-timeout=3s to test this metric.
TODO(fuyc): SvcEndpointCount is used to check against skylb_web_health_gauge.
No description provided by the author
# Type aliases
No description provided by the author