Merge pull request #938 from influxdata/feature/usage-query

feat(usage): add query usage metrics
pull/10616/head
Chris Goller 2018-10-04 22:06:25 -05:00 committed by GitHub
commit c6cd482e40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -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.