github.com/treeverse/lakefs@v1.24.1-0.20240520134607-95648127bfb0/pkg/kv/dynamodb/stats.go (about) 1 package dynamodb 2 3 import ( 4 "github.com/prometheus/client_golang/prometheus" 5 "github.com/prometheus/client_golang/prometheus/promauto" 6 ) 7 8 var ( 9 dynamoConsumedCapacity = promauto.NewCounterVec(prometheus.CounterOpts{ 10 Name: "dynamo_consumed_capacity_total", 11 Help: "The capacity units consumed by operation.", 12 }, []string{"operation"}) 13 dynamoSlowdown = promauto.NewCounterVec(prometheus.CounterOpts{ 14 Name: "dynamo_slowdown_total", 15 Help: "The number of times this operation was slowed down due to throttling.", 16 }, []string{"operation"}) 17 )