MCPcopy Create free account
hub / github.com/cortexproject/cortex / _Ingester_AllUserStats_Handler

Function _Ingester_AllUserStats_Handler

pkg/ingester/client/ingester.pb.go:3326–3342  ·  view source on GitHub ↗
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)

Source from the content-addressed store, hash-verified

3324}
3325
3326func _Ingester_AllUserStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3327 in := new(UserStatsRequest)
3328 if err := dec(in); err != nil {
3329 return nil, err
3330 }
3331 if interceptor == nil {
3332 return srv.(IngesterServer).AllUserStats(ctx, in)
3333 }
3334 info := &grpc.UnaryServerInfo{
3335 Server: srv,
3336 FullMethod: "/cortex.Ingester/AllUserStats",
3337 }
3338 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3339 return srv.(IngesterServer).AllUserStats(ctx, req.(*UserStatsRequest))
3340 }
3341 return interceptor(ctx, in, info, handler)
3342}
3343
3344func _Ingester_MetricsForLabelMatchers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3345 in := new(MetricsForLabelMatchersRequest)

Callers

nothing calls this directly

Calls 1

AllUserStatsMethod · 0.65

Tested by

no test coverage detected