stats
Creates, updates, deletes, gets or lists a stats
resource.
Overview
Name | stats |
Type | Resource |
Id | google.apigee.stats |
Fields
Name | Datatype | Description |
---|---|---|
environments | array | List of query results on the environment level. |
hosts | array | List of query results grouped by host. |
metaData | object | Encapsulates additional information about query execution. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
organizations_environments_stats_get | SELECT | environmentsId, organizationsId, statsId | Retrieve metrics grouped by dimensions. The types of metrics you can retrieve include traffic, message counts, API call latency, response size, and cache hits and counts. Dimensions let you view metrics in meaningful groups. You can optionally pass dimensions as path parameters to the stats API. If dimensions are not specified, the metrics are computed on the entire set of data for the given time range. |
SELECT
examples
Retrieve metrics grouped by dimensions. The types of metrics you can retrieve include traffic, message counts, API call latency, response size, and cache hits and counts. Dimensions let you view metrics in meaningful groups. You can optionally pass dimensions as path parameters to the stats
API. If dimensions are not specified, the metrics are computed on the entire set of data for the given time range.
SELECT
environments,
hosts,
metaData
FROM google.apigee.stats
WHERE environmentsId = '{{ environmentsId }}'
AND organizationsId = '{{ organizationsId }}'
AND statsId = '{{ statsId }}';