Create a time-series definition in MetricBase
-
- UpdatedJan 30, 2025
- 2 minutes to read
- Yokohama
- MetricBase
Specify the metric that you want to store, how often to collect it, and how long to store it in MetricBase.
Before you begin
- Install MetricBase
- Role required: clotho_admin
Procedure
Result
You've created a time-series specification for a metric that you want to track.
What to do next
Sample the data according to the time-series specification and send it from an instance to the MetricBase database server.
Use the REST or JavaScript APIs to send the data to the MetricBase database at the rate that is prescribed by the time-series definition. See Developer resources.
Important: Send the data at the rate that the time-series definition prescribes. If you send the data at a different rate or for a different duration, you receive an error. Make sure to aggregate the data according to
the time-series metric definition. Also, the MetricBase database only stores values of data type float.