metricReport

Build a report, or table, consisting of multiple Metrics broken down by one-or-more dimensions.

The first few columns of the report are the dimensions you choose to break down by. The subsequent columns are the Metrics you choose to query. By default, the report sorts on the first Metric in descending order, but you can configure this with the orderByMetric and sort inputs.

Finally, reports use cursor-based pagination. You can control page size with the first and last inputs.

Arguments

input
MetricReportInput
required

Returns

Nullable
MetricReportConnection

sqlV1

Query Data Pools using SQL.

Arguments

input
SqlV1Input
required

Returns

Non-null
SqlResponse

describeSqlV1

Describe SQL statements Data Pools.

Arguments

input
DescribeSqlV1Input
required

Returns

Non-null
DescribeSqlResponse

dataGrid

Returns the individual records of a Data Pool with the convenience of built-in pagination, filtering, and sorting.

Arguments

input
DataGridInput
required

Returns

Non-null
DataGridConnection

recordsByUniqueId

Returns records by the given unique IDs.

Arguments

input
RecordsByUniqueIdInput
required

Returns

Non-null
RecordsByUniqueIdResponse

topValues

Returns an array of the most frequent values in a given column. The resulting array is sorted in descending order of approximate frequency of values.

Arguments

input
TopValuesInput
required

Returns

Non-null
TopValuesResponse

counter

Query a metric in counter format. Returns a single metric value for the given time range and filters.

Arguments

input
CounterInput
required

Returns

Nullable
CounterResponse

counters

Query metrics in counter format. Returns a metric value for each input in the array of inputs.

Arguments

input
[CounterInput!]
required

Returns

Non-null
CounterResponse

timeSeries

Query a metric in time series format. Returns arrays of timestamps and metric values for the given time range and filters.

Arguments

input
TimeSeriesInput
required

Returns

Nullable
TimeSeriesResponse

leaderboard

Query a metric in leaderboard format. Returns a table (array of rows) with the selected dimensions and the metric’s corresponding values for the given time range and filters.

Arguments

input
LeaderboardInput
required

Returns

Nullable
LeaderboardResponse