API Endpoints
Statistics
GET
http://<host>:8181/api/stats
This endpoint allows you to get storage statistics of the running Akumuli instance. It's also can be used as a test endpoint to test service availability.
Read query
POST
http://<host>:8181/api/query
This endpoint allows you to retrieve time-series data from the database. The client should provide valid query. The response will use chunked transfer encoding to return the results. The results are encoded using the RESP protocol.
Request Body
Query Body
object
JSON encoded query
Search
POST
http://<host>:8181/api/search
This API endpoint can be used to retreive the metadata like series names and tag values.
Path Parameters
Query Body
string
JSON encoded query
Suggest
POST
http://<host>:8181/api/suggest
This endpoint can be used to retrieve metric names, tag names, and tag values. It powers autocomplete function of the akumuli-datasource for Grafana.
Path Parameters
Query Body
string
JSON encoded query
List functions
GET
http://<host>:8181/api/function-names
This endpoint can be used to retrieve the list of functions that can be used in queries.
Last updated