W3cubDocs

/OpenTSDB

/api/aggregators

This endpoint simply lists the names of implemented aggregation functions used in timeseries queries.

Verbs

  • GET
  • POST

Requests

This endpoint does not require any parameters via query string or body.

Example Request

Query String

http://localhost:4242/api/aggregators

Response

The response is an array of strings that are the names of aggregation functions that can be used in a timeseries query.

Example Response

[
  "min",
  "sum",
  "max",
  "avg",
  "dev"
]

© 2010–2016 The OpenTSDB Authors
Licensed under the GNU LGPLv2.1+ and GPLv3+ licenses.
http://opentsdb.net/docs/build/html/api_http/aggregators.html