Comment on page
Events ingestion monitoring
This page shows you how to start using the events ingestion monitoring API.
When we collect activities, we track the number of events that go through each step of the mediarithmics data pipeline.
post
https://api.mediarithmics.com
/v1/platform_monitoring/data_ingestion
{
// Retrieve the data in the specified date range
// Mandatory
// Tip : you can use relative date formats such as "now-7d/d"
"date_ranges": [
{
"start_date": "2021-10-10T00:00:00",
"end_date": "2021-10-25T23:59:59"
}
],
// List of dimensions to retrieve
"dimensions": [
{
"name": "date_time"
},
{
"name": "datamart_id"
},
{
"name": "pipeline_step"
}
],
// List of metrics to retrieve
"metrics": [
{
"expression": "event_count"
}
]
}
We monitor the number of events that reach the given ingestion steps:
Step | Description |
---|---|
JS_TAG | Measure the number of events sent by the mediarithmics Javascript TAG |
API | Measure the number of events sent through the ingestion API
api.mediarithmics.com/v1/datamarts/{datamart_id}/user_activities |
DOCUMENT_IMPORT | Measure the number of events sent through the USER_ACTIVITY imports with the document import feature |
EVENT_RULES | Measure the number of events that match configures rules |
ACTIVITY_ANALYZER | Measure the number of events that pass through activity analyzer plugins |
DOCUMENT_STORE | Measure the number of events that are stored in the mediarithmics platform. |
These aggregated stats are kept for 3 months.
This endpoint is a mediarithmics Data cube. You can find documentation on how data cubes work and which data cubes are availables in the specific documentation section.
Last modified 1yr ago