host_stats
Creates, updates, deletes, gets or lists a host_stats
resource.
Overview
Name | host_stats |
Type | Resource |
Id | google.apigee.host_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_host_stats_get | SELECT | hostStatsId, organizationsId | Retrieve metrics grouped by dimensions in host level. 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 in host level. 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.host_stats
WHERE hostStatsId = '{{ hostStatsId }}'
AND organizationsId = '{{ organizationsId }}';