Skip to content

Commit

Permalink
feat(usage): add query usage metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
goller committed Oct 3, 2018
1 parent 8cf045d commit 9753bf0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion usage.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@ type UsageMetric string
const (
// UsageWriteRequestCount is the name of the metrics for tracking write request count.
UsageWriteRequestCount UsageMetric = "usage_write_request_count"
// UsageWriteRequestBytes is the name of the metrics for tracking the number of bytes.
// UsageWriteRequestBytes is the name of the metrics for tracking the number of write bytes.
UsageWriteRequestBytes UsageMetric = "usage_write_request_bytes"
// UsageQueryRequestCount is the name of the metrics for tracking query request count.
UsageQueryRequestCount UsageMetric = "usage_query_request_count"
// UsageQueryRequestBytes is the name of the metrics for tracking the number of query bytes.
UsageQueryRequestBytes UsageMetric = "usage_query_request_bytes"
)

// Usage is a metric associated with the utilization of a particular resource.
Expand Down

0 comments on commit 9753bf0

Please sign in to comment.