@@ -279,25 +279,29 @@ func New(
279
279
Help : "Total number of times the distributor has sharded streams" ,
280
280
}),
281
281
kafkaAppends : promauto .With (registerer ).NewCounterVec (prometheus.CounterOpts {
282
- Name : "kafka_appends_total" ,
283
- Help : "The total number of appends sent to kafka ingest path." ,
282
+ Namespace : constants .Loki ,
283
+ Name : "distributor_kafka_appends_total" ,
284
+ Help : "The total number of appends sent to kafka ingest path." ,
284
285
}, []string {"partition" , "status" }),
285
286
kafkaWriteLatency : promauto .With (registerer ).NewHistogram (prometheus.HistogramOpts {
286
- Name : "kafka_latency_seconds" ,
287
+ Namespace : constants .Loki ,
288
+ Name : "distributor_kafka_latency_seconds" ,
287
289
Help : "Latency to write an incoming request to the ingest storage." ,
288
290
NativeHistogramBucketFactor : 1.1 ,
289
291
NativeHistogramMinResetDuration : 1 * time .Hour ,
290
292
NativeHistogramMaxBucketNumber : 100 ,
291
293
Buckets : prometheus .DefBuckets ,
292
294
}),
293
295
kafkaWriteBytesTotal : promauto .With (registerer ).NewCounter (prometheus.CounterOpts {
294
- Name : "kafka_sent_bytes_total" ,
295
- Help : "Total number of bytes sent to the ingest storage." ,
296
+ Namespace : constants .Loki ,
297
+ Name : "distributor_kafka_sent_bytes_total" ,
298
+ Help : "Total number of bytes sent to the ingest storage." ,
296
299
}),
297
300
kafkaRecordsPerRequest : promauto .With (registerer ).NewHistogram (prometheus.HistogramOpts {
298
- Name : "kafka_records_per_write_request" ,
299
- Help : "The number of records a single per-partition write request has been split into." ,
300
- Buckets : prometheus .ExponentialBuckets (1 , 2 , 8 ),
301
+ Namespace : constants .Loki ,
302
+ Name : "distributor_kafka_records_per_write_request" ,
303
+ Help : "The number of records a single per-partition write request has been split into." ,
304
+ Buckets : prometheus .ExponentialBuckets (1 , 2 , 8 ),
301
305
}),
302
306
writeFailuresManager : writefailures .NewManager (logger , registerer , cfg .WriteFailuresLogging , configs , "distributor" ),
303
307
kafkaWriter : kafkaWriter ,
0 commit comments