Like Prometheus, but for logs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
loki/pkg/querier/stats/stats.proto

22 lines
645 B

syntax = "proto3";
package stats;
import "gogoproto/gogo.proto";
import "google/protobuf/duration.proto";
option go_package = "github.com/grafana/loki/pkg/querier/stats";
option (gogoproto.marshaler_all) = true;
option (gogoproto.unmarshaler_all) = true;
message Stats {
// The sum of all wall time spent in the querier to execute the query.
google.protobuf.Duration wall_time = 1 [
(gogoproto.stdduration) = true,
(gogoproto.nullable) = false
];
// The number of series fetched for the query
uint64 fetched_series_count = 2;
// The number of bytes of the chunks fetched for the query
uint64 fetched_chunk_bytes = 3;
}