github.com/yankunsam/loki/v2@v2.6.3-0.20220817130409-389df5235c27/pkg/querier/stats/stats.proto (about)

     1  syntax = "proto3";
     2  
     3  package stats;
     4  
     5  import "github.com/gogo/protobuf/gogoproto/gogo.proto";
     6  import "google/protobuf/duration.proto";
     7  
     8  option go_package = "github.com/grafana/loki/pkg/querier/stats";
     9  option (gogoproto.marshaler_all) = true;
    10  option (gogoproto.unmarshaler_all) = true;
    11  
    12  message Stats {
    13    // The sum of all wall time spent in the querier to execute the query.
    14    google.protobuf.Duration wall_time = 1 [
    15      (gogoproto.stdduration) = true,
    16      (gogoproto.nullable) = false
    17    ];
    18    // The number of series fetched for the query
    19    uint64 fetched_series_count = 2;
    20    // The number of bytes of the chunks fetched for the query
    21    uint64 fetched_chunk_bytes = 3;
    22  }