Skip to content

Commit

Permalink
Rename gt80 to gte80
Browse files Browse the repository at this point in the history
  • Loading branch information
lil5 committed Dec 19, 2024
1 parent 5c8d384 commit 8783ec9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion grpc/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down
2 changes: 1 addition & 1 deletion metrics/counters.go
Original file line number Diff line number Diff line change
Expand Up @@ -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%",
})
Expand Down

0 comments on commit 8783ec9

Please sign in to comment.