Documentation ¶
Overview ¶
Package metrics creates envoy grpc metricsserver. It will collect metrics, convert them from prometheus to OTLP. It will then push the OTLP metric onto the next component in an OTLP pipeline.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Receiver ¶
type Receiver struct {
// contains filtered or unexported fields
}
Receiver is the metrics implementation for an envoy metrics receiver.
func (*Receiver) Register ¶
Register will register the MetricsServiceServer on the provided grpc Server.
func (*Receiver) StreamMetrics ¶
func (r *Receiver) StreamMetrics(stream metricsv3.MetricsService_StreamMetricsServer) error
StreamMetrics implements the envoy MetricsServiceServer method StreamMetrics. It will consume the envoy prometheus metrics and write them to the nextConsumer.
Click to show internal directories.
Click to hide internal directories.