porting all github actions from bluesky-social/indigo to tangled CI
at main 1.1 kB view raw
1package backfill 2 3import ( 4 "github.com/prometheus/client_golang/prometheus" 5 "github.com/prometheus/client_golang/prometheus/promauto" 6) 7 8var backfillJobsEnqueued = promauto.NewCounterVec(prometheus.CounterOpts{ 9 Name: "backfill_jobs_enqueued_total", 10 Help: "The total number of backfill jobs enqueued", 11}, []string{"backfiller_name"}) 12 13var backfillJobsProcessed = promauto.NewCounterVec(prometheus.CounterOpts{ 14 Name: "backfill_jobs_processed_total", 15 Help: "The total number of backfill jobs processed", 16}, []string{"backfiller_name"}) 17 18var backfillRecordsProcessed = promauto.NewCounterVec(prometheus.CounterOpts{ 19 Name: "backfill_records_processed_total", 20 Help: "The total number of backfill records processed", 21}, []string{"backfiller_name"}) 22 23var backfillOpsBuffered = promauto.NewGaugeVec(prometheus.GaugeOpts{ 24 Name: "backfill_ops_buffered", 25 Help: "The number of backfill operations buffered", 26}, []string{"backfiller_name"}) 27 28var backfillBytesProcessed = promauto.NewCounterVec(prometheus.CounterOpts{ 29 Name: "backfill_bytes_processed_total", 30 Help: "The total number of backfill bytes processed", 31}, []string{"backfiller_name"})