diff --git a/grpc/routes.go b/grpc/routes.go index 733c274..2a522fd 100644 --- a/grpc/routes.go +++ b/grpc/routes.go @@ -95,7 +95,7 @@ func NewApp() *App { if lenPayloads == bufSizeFull { metrics.TotalBufferContentsFull.Inc() } else if lenPayloads >= bufSize80 { - metrics.TotalBufferContentsGt80.Inc() + metrics.TotalBufferContentsGte80.Inc() } else { metrics.TotalBufferContentsLt80.Inc() } diff --git a/metrics/counters.go b/metrics/counters.go index d3de34c..1601852 100644 --- a/metrics/counters.go +++ b/metrics/counters.go @@ -14,7 +14,7 @@ var ( Name: "tigerbeetleapi_buffer_contents_lt80_total", Help: "Tigerbeetle buffer filled size is less than 80%", }) - TotalBufferContentsGt80 = promauto.NewCounter(prometheus.CounterOpts{ + TotalBufferContentsGte80 = promauto.NewCounter(prometheus.CounterOpts{ Name: "tigerbeetleapi_buffer_contents_gte80_total", Help: "Tigerbeetle buffer filled size is greater than or equal to 80%", })