@@ -289,6 +289,118 @@ var (
289
289
Objectives : map [float64 ]float64 {0.5 : 0.05 , 0.9 : 0.01 , 0.95 : 0.005 , 0.99 : 0.001 },
290
290
})
291
291
292
+ AnnounceCachePeerCount = promauto .NewCounter (prometheus.CounterOpts {
293
+ Namespace : types .MetricsNamespace ,
294
+ Subsystem : types .SchedulerMetricsName ,
295
+ Name : "announce_cache_peer_total" ,
296
+ Help : "Counter of the number of the announcing cache peer." ,
297
+ })
298
+
299
+ AnnounceCachePeerFailureCount = promauto .NewCounter (prometheus.CounterOpts {
300
+ Namespace : types .MetricsNamespace ,
301
+ Subsystem : types .SchedulerMetricsName ,
302
+ Name : "announce_cache_peer_failure_total" ,
303
+ Help : "Counter of the number of failed of the announcing cache peer." ,
304
+ })
305
+
306
+ StatCachePeerCount = promauto .NewCounter (prometheus.CounterOpts {
307
+ Namespace : types .MetricsNamespace ,
308
+ Subsystem : types .SchedulerMetricsName ,
309
+ Name : "stat_cache_peer_total" ,
310
+ Help : "Counter of the number of the stat cache peer." ,
311
+ })
312
+
313
+ StatCachePeerFailureCount = promauto .NewCounter (prometheus.CounterOpts {
314
+ Namespace : types .MetricsNamespace ,
315
+ Subsystem : types .SchedulerMetricsName ,
316
+ Name : "stat_cache_peer_failure_total" ,
317
+ Help : "Counter of the number of failed of the stat cache peer." ,
318
+ })
319
+
320
+ DeleteCachePeerCount = promauto .NewCounter (prometheus.CounterOpts {
321
+ Namespace : types .MetricsNamespace ,
322
+ Subsystem : types .SchedulerMetricsName ,
323
+ Name : "delete_cache_peer_total" ,
324
+ Help : "Counter of the number of the deleting cache peer." ,
325
+ })
326
+
327
+ DeleteCachePeerFailureCount = promauto .NewCounter (prometheus.CounterOpts {
328
+ Namespace : types .MetricsNamespace ,
329
+ Subsystem : types .SchedulerMetricsName ,
330
+ Name : "delete_cache_peer_failure_total" ,
331
+ Help : "Counter of the number of failed of the deleting cache peer." ,
332
+ })
333
+
334
+ UploadCacheTaskStartedCount = promauto .NewCounter (prometheus.CounterOpts {
335
+ Namespace : types .MetricsNamespace ,
336
+ Subsystem : types .SchedulerMetricsName ,
337
+ Name : "upload_cache_peer_started_total" ,
338
+ Help : "Counter of the number of the started uploading cache peer." ,
339
+ })
340
+
341
+ UploadCacheTaskStartedFailureCount = promauto .NewCounter (prometheus.CounterOpts {
342
+ Namespace : types .MetricsNamespace ,
343
+ Subsystem : types .SchedulerMetricsName ,
344
+ Name : "upload_cache_peer_started_failure_total" ,
345
+ Help : "Counter of the number of failed of the started uploading cache peer." ,
346
+ })
347
+
348
+ UploadCacheTaskFinishedCount = promauto .NewCounter (prometheus.CounterOpts {
349
+ Namespace : types .MetricsNamespace ,
350
+ Subsystem : types .SchedulerMetricsName ,
351
+ Name : "upload_cache_peer_finished_total" ,
352
+ Help : "Counter of the number of the finished uploading cache peer." ,
353
+ })
354
+
355
+ UploadCacheTaskFinishedFailureCount = promauto .NewCounter (prometheus.CounterOpts {
356
+ Namespace : types .MetricsNamespace ,
357
+ Subsystem : types .SchedulerMetricsName ,
358
+ Name : "upload_cache_peer_finished_failure_total" ,
359
+ Help : "Counter of the number of failed of the finished uploading cache peer." ,
360
+ })
361
+
362
+ UploadCacheTaskFailedCount = promauto .NewCounter (prometheus.CounterOpts {
363
+ Namespace : types .MetricsNamespace ,
364
+ Subsystem : types .SchedulerMetricsName ,
365
+ Name : "upload_cache_peer_failed_total" ,
366
+ Help : "Counter of the number of the failed uploading cache peer." ,
367
+ })
368
+
369
+ UploadCacheTaskFailedFailureCount = promauto .NewCounter (prometheus.CounterOpts {
370
+ Namespace : types .MetricsNamespace ,
371
+ Subsystem : types .SchedulerMetricsName ,
372
+ Name : "upload_cache_peer_failed_failure_total" ,
373
+ Help : "Counter of the number of failed of the failed uploading cache peer." ,
374
+ })
375
+
376
+ StatCacheTaskCount = promauto .NewCounter (prometheus.CounterOpts {
377
+ Namespace : types .MetricsNamespace ,
378
+ Subsystem : types .SchedulerMetricsName ,
379
+ Name : "stat_cache_task_total" ,
380
+ Help : "Counter of the number of the stat cache task." ,
381
+ })
382
+
383
+ StatCacheTaskFailureCount = promauto .NewCounter (prometheus.CounterOpts {
384
+ Namespace : types .MetricsNamespace ,
385
+ Subsystem : types .SchedulerMetricsName ,
386
+ Name : "stat_cache_task_failure_total" ,
387
+ Help : "Counter of the number of failed of the stat cache task." ,
388
+ })
389
+
390
+ DeleteCacheTaskCount = promauto .NewCounter (prometheus.CounterOpts {
391
+ Namespace : types .MetricsNamespace ,
392
+ Subsystem : types .SchedulerMetricsName ,
393
+ Name : "delete_cache_task_total" ,
394
+ Help : "Counter of the number of the delete cache task." ,
395
+ })
396
+
397
+ DeleteCacheTaskFailureCount = promauto .NewCounter (prometheus.CounterOpts {
398
+ Namespace : types .MetricsNamespace ,
399
+ Subsystem : types .SchedulerMetricsName ,
400
+ Name : "delete_cache_task_failure_total" ,
401
+ Help : "Counter of the number of failed of the delete cache task." ,
402
+ })
403
+
292
404
VersionGauge = promauto .NewGaugeVec (prometheus.GaugeOpts {
293
405
Namespace : types .MetricsNamespace ,
294
406
Subsystem : types .SchedulerMetricsName ,
0 commit comments