Resource: OptimizedStats
JSON representation |
---|
{
"Response": {
object ( |
Fields | |
---|---|
Response |
Wraps the
|
OptimizedStatsResponse
Encapsulates a response format for JavaScript Optimized Scenario.
JSON representation |
---|
{ "TimeUnit": [ string ], "metaData": { object ( |
Fields | |
---|---|
TimeUnit[] |
List of time unit values. Time unit refers to an epoch timestamp value. |
metaData |
Metadata information about the query executed. |
resultTruncated |
Boolean flag that indicates whether the results were truncated based on the limit parameter. |
stats |
|
OptimizedStatsNode
Encapsulates a data node as represented below:
{
"identifier": {
"names": [
"apiproxy"
],
"values": [
"sirjee"
]
},
"metric": [
{
"env": "prod",
"name": "sum(message_count)",
"values": [
36.0
]
}
]
}
or
{
"env": "prod",
"name": "sum(message_count)",
"values": [
36.0
]
}
Depending on whether a dimension is present in the query or not the data node type can be a simple metric value or dimension identifier with list of metrics.
JSON representation |
---|
{ "data": array } |
Fields | |
---|---|
data |
|
Methods |
|
---|---|
|
Similar to GetStats except that the response is less verbose. |