Metric

returns number of requests with lat and lon, based on geoip

get

this is mostly useful for heatmaps

Authorizations
OAuth2applicationRequired
Token URL:
Path parameters
serviceIdanyRequired

serviceId

Query parameters
startTimestampanyOptional

start time range, unix timestamp, default 24 hours ago

endTimestampanyOptional

end time range, unix timestamp, default now

Responses
chevron-right
200

OK

application/json
requestsintegerOptionalExample: 9001
get
/service/{serviceId}/metric/geopoints

Returns the number of values for a metric

get

Returns the number of values for a metric

Authorizations
OAuth2applicationRequired
Token URL:
Path parameters
serviceIdanyRequired

serviceId

fieldanyRequired

Field from list of /api/util/fields

Query parameters
startTimestampanyOptional

start time range, unix timestamp, default 24 hours ago

endTimestampanyOptional

end time range, unix timestamp, default now

Responses
chevron-right
200

OK

application/json
keystringOptionalExample: tx.ReqURL
requestsintegerOptionalExample: 9001
get
/service/{serviceId}/metric/{field}/count/requests

Returns the number of unique values for a metric

get

Returns the number of unique values for a metric

Authorizations
OAuth2applicationRequired
Token URL:
Path parameters
serviceIdanyRequired

serviceId

fieldanyRequired

Field from list of /api/util/fields

Query parameters
startTimestampanyOptional

start time range, unix timestamp, default 24 hours ago

endTimestampanyOptional

end time range, unix timestamp, default now

Responses
chevron-right
200

OK

application/json
keystringOptionalExample: tx.ReqURL
requestsintegerOptionalExample: 9001
get
/service/{serviceId}/metric/{field}/countUnique/requests

Returns the Histogram of field by request count

get

Returns the Histogram of field by request count

Authorizations
OAuth2applicationRequired
Token URL:
Path parameters
serviceIdanyRequired

serviceId

fieldanyRequired

Field from list of /api/util/fields

Query parameters
limitanyOptional

Limit (max 1000, default 10)

startTimestampanyOptional

start time range, unix timestamp, default 24 hours ago

endTimestampanyOptional

end time range, unix timestamp, default now

Responses
chevron-right
200

OK

application/json
datestringOptionalExample: 2022-11-14T10:48:00.000Z
get
/service/{serviceId}/metric/{field}/histogram/requests

Returns the Histogram of field by traffic

get

Returns the Histogram of field by traffic

Authorizations
OAuth2applicationRequired
Token URL:
Path parameters
serviceIdanyRequired

serviceId

fieldanyRequired

Field from list of /api/util/fields

Query parameters
limitanyOptional

Limit (max 1000, default 10)

startTimestampanyOptional

start time range, unix timestamp, default 24 hours ago

endTimestampanyOptional

end time range, unix timestamp, default now

Responses
chevron-right
200

OK

application/json
datestringOptionalExample: 2022-11-14T10:48:00.000Z
get
/service/{serviceId}/metric/{field}/histogram/traffic

Returns a number of stats about a field

get

Returns a number of stats about a field

Authorizations
OAuth2applicationRequired
Token URL:
Path parameters
serviceIdanyRequired

serviceId

fieldanyRequired

Field from list of /api/util/fields

Query parameters
startTimestampanyOptional

start time range, unix timestamp, default 24 hours ago

endTimestampanyOptional

end time range, unix timestamp, default now

Responses
chevron-right
200

OK

application/json
avgnumberOptional
countintegerOptional
keystringOptionalExample: tx.ReqURL
maxnumberOptional
minnumberOptional
std_deviationnumberOptional
sumnumberOptional
sum_of_squaresnumberOptional
variancenumberOptional
get
/service/{serviceId}/metric/{field}/stats

Returns the top x of field by request count

get

Returns the top x of field by request count

Authorizations
OAuth2applicationRequired
Token URL:
Path parameters
serviceIdanyRequired

serviceId

fieldanyRequired

Field from list of /api/util/fields

Query parameters
limitanyOptional

Limit (max 1000, default 10)

startTimestampanyOptional

start time range, unix timestamp, default 24 hours ago

endTimestampanyOptional

end time range, unix timestamp, default now

Responses
chevron-right
200

OK

application/json
get
/service/{serviceId}/metric/{field}/top/requests

Returns the top x of field by traffic amount in bytes

get

Returns the top x of field by traffic amount in bytes

Authorizations
OAuth2applicationRequired
Token URL:
Path parameters
serviceIdanyRequired

serviceId

fieldanyRequired

Field from list of /api/util/fields

Query parameters
limitanyOptional

Limit (max 1000, default 10)

startTimestampanyOptional

start time range, unix timestamp, default 24 hours ago

endTimestampanyOptional

end time range, unix timestamp, default now

Responses
chevron-right
200

OK

application/json
get
/service/{serviceId}/metric/{field}/top/traffic

Last updated

Was this helpful?