grpc/service.proto (16 lines of code) (raw):
// Copyright (c) Facebook, Inc. and its affiliates.
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
syntax = "proto3";
package grpc;
import "third-party/metrics.proto";
message MetricFamilies {
repeated io.prometheus.client.MetricFamily families = 1;
}
message Void {
}
service MetricsController {
// Report a collection of metrics from a service
rpc Collect (MetricFamilies) returns (Void) {}
}