Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPCHandler ¶
type GRPCHandler struct {
// contains filtered or unexported fields
}
GRPCHandler implements gRPC CollectorService.
func NewGRPCHandler ¶
func NewGRPCHandler( logger *zap.Logger, metricWriter metricstore.Writer, ) *GRPCHandler
func (*GRPCHandler) RequestMetrics ¶
func (g *GRPCHandler) RequestMetrics(c context.Context, r *prompb.WriteRequest) (*prompb.MetricsResponse, error)
Click to show internal directories.
Click to hide internal directories.