Query a Metric in counter format. A single Metric value for the given time range and filters.
input required CounterInput
The fields for querying a Metric in counter format.
A Metric's counter query returns a single value over a given time range.
The ID of the Metric to query.
metricNameis not specified.
The name of the Metric to query.
metricIdis not specified.
input.timeRange required TimeRangeInput
The time range for calculating the counter.
The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.
You can set this to "America/Los_Angeles", "Europe/Berlin", or any other value in the IANA time zone database. Defaults to "UTC".
input.filters optional array of FilterInput
The Query Filters to apply before retrieving the counter data. If no Query Filters are provided, all data is included.
Optionally specifies the Propeller to use. This can be set when querying from the Metric Playground or GraphQL Explorer. Applications may not set this value. Instead, Application Queries always use the Propeller configured on the Application.
A Propeller determines your Application's query processing power. The larger the Propeller, the faster the queries and the higher the cost. Every Propel Application (and therefore every set of API credentials) has a Propeller that determines the speed and cost of queries.
Max records per second: 5,000,000 records per second
Max records per second: 25,000,000 records per second
Max records per second: 100,000,000 records per second
Max records per second: 250,000,000 records per second
Max records per second: 500,000,000 records per second
The counter response object. It contains a single Metric value for the given time range and Query Filters.