Cyanite HTTP Service¶
The Cyanite API is responsible for exposing an HTTP service to service queries. The Cyanite API exposes the following HTTP routes:
/ping
: report online status/metrics
: query metrics. Takesfrom
,to
(optional), and any number ofpath
arguments./paths
: query paths. Takes aquery
argument.
Authentication¶
Cyanite provides no authentication means.
Authorization¶
Cyanite provides no authorization methods.
Routes¶
/paths
¶
Query available metric paths.
- Input
query
: A valid path query
- Output
{ "paths": [ "path1", "path2", "pathN" ] }
/metrics
¶
Query metric time-series
- Input
from
: Timestamp at which to start query.to
: Optional timestamp at which to stop querying. Assume wall-clock time if unspecified.path
: May be supplied several times. Path or path query to retrieve.
- Output
{ "from" : , "to" : , "step" : 10, "series": { "web01.cpu": [ 30.0, 40.0, 50.0 ] }