Resources usage
Last updated
Was this helpful?
Last updated
Was this helpful?
This page shows you how to get started using the resources usage mediarithmics API.
Each datamart resource (segments, exports, imports...) that lead to write or read access on mediarithmics platform are tracked and their consumption are measured.
Thanks to this API you can get a report of your datamart consumption that match:
the cost of each query executed on the platform
the amount of data ingested
This API is a mediarithmics and works similarly as .
POST
https://api.mediarithmics.com/v1/platform_monitoring/resources_usage
metrics*
array
dimension_filter_clauses*
object
dimensions*
Dimensions to group metrics by.
date_ranges*
array
Here is a sample body payload with all the important properties:
These aggregated stats are kept for two years.
Array of to retrieve.
Filters to apply on dimensions before calculating the metric. For more information, see .
to group metrics by.
Periods to analyze. Each date range is an object with a start_date
and an end_date
. See .
See for the complete list of supported dimensions and metrics.
This endpoint is a mediarithmics . You can find documentation on how data cubes work and which data cubes are available in the specific documentation section.