Overview
A service to manage data usage metrics.
NB: The Get logs count, Get spans count and Get data usage endpoints return data as a stream of new-line delimited JSON objects.
When you call these endpoints, you must include the Accept: text/event-stream header.
Common error response codes
| Status Code | Description |
|---|---|
400 Bad Request | Response code 400 |
401 Unauthorized | Response code 401 |
500 Internal Server Error | Response code 500 |
Constants
Pillar
| Value |
|---|
PILLAR_UNSPECIFIED |
PILLAR_METRICS |
PILLAR_LOGS |
PILLAR_SPANS |
PILLAR_BINARY |
PILLAR_PROFILES |
TcoTier
| Value |
|---|
TCO_TIER_UNSPECIFIED |
TCO_TIER_LOW |
TCO_TIER_MEDIUM |
TCO_TIER_HIGH |
TCO_TIER_BLOCKED |
Priority
| Value |
|---|
PRIORITY_UNSPECIFIED |
PRIORITY_LOW |
PRIORITY_MEDIUM |
PRIORITY_HIGH |
PRIORITY_BLOCKED |
Severity
| Value |
|---|
SEVERITY_UNSPECIFIED |
SEVERITY_DEBUG |
SEVERITY_VERBOSE |
SEVERITY_INFO |
SEVERITY_WARNING |
SEVERITY_ERROR |
SEVERITY_CRITICAL |
Range
| Value |
|---|
RANGE_UNSPECIFIED |
RANGE_CURRENT_MONTH |
RANGE_LAST_30_DAYS |
RANGE_LAST_90_DAYS |
RANGE_LAST_WEEK |
Resolution
| Value |
|---|
RESOLUTION_UNSPECIFIED |
RESOLUTION_ONE_MINUTE |
RESOLUTION_FIVE_MINUTES |
RESOLUTION_FIFTEEN_MINUTES |
RESOLUTION_ONE_HOUR |
RESOLUTION_SIX_HOURS |
RESOLUTION_ONE_DAY |
RESOLUTION_ONE_WEEK |
GbUnitsRatios
| Value |
|---|
GB_UNITS_RATIOS_UNSPECIFIED |
AggregateBy
| Value |
|---|
AGGREGATE_BY_UNSPECIFIED |
AGGREGATE_BY_APPLICATION |
AGGREGATE_BY_SUBSYSTEM |
AGGREGATE_BY_PILLAR |
AGGREGATE_BY_PRIORITY |
Range
| Value |
|---|
RANGE_UNSPECIFIED |
RANGE_CURRENT_MONTH |
RANGE_LAST_30_DAYS |
RANGE_LAST_90_DAYS |
RANGE_LAST_WEEK |
Pillar
| Value |
|---|
PILLAR_UNSPECIFIED |
PILLAR_METRICS |
PILLAR_LOGS |
PILLAR_SPANS |
PILLAR_BINARY |
PILLAR_PROFILES |
TcoTier
| Value |
|---|
TCO_TIER_UNSPECIFIED |
TCO_TIER_LOW |
TCO_TIER_MEDIUM |
TCO_TIER_HIGH |
TCO_TIER_BLOCKED |
Priority
| Value |
|---|
PRIORITY_UNSPECIFIED |
PRIORITY_LOW |
PRIORITY_MEDIUM |
PRIORITY_HIGH |
PRIORITY_BLOCKED |
Severity
| Value |
|---|
SEVERITY_UNSPECIFIED |
SEVERITY_DEBUG |
SEVERITY_VERBOSE |
SEVERITY_INFO |
SEVERITY_WARNING |
SEVERITY_ERROR |
SEVERITY_CRITICAL |
Range
| Value |
|---|
RANGE_UNSPECIFIED |
RANGE_CURRENT_MONTH |
RANGE_LAST_30_DAYS |
RANGE_LAST_90_DAYS |
RANGE_LAST_WEEK |
Priority
| Value |
|---|
PRIORITY_UNSPECIFIED |
PRIORITY_LOW |
PRIORITY_MEDIUM |
PRIORITY_HIGH |
PRIORITY_BLOCKED |