Track ETL jobs, data loads, and database migrations on the timeline. Correlate data pipeline events with downstream issues.
curl -X POST https://api.opstrails.dev/api/v1/events \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"specversion": "1.0",
"type": "data-load",
"source": "//airflow/etl-pipeline",
"time": "NOW",
"subject": "warehouse",
"data": {
"description": "Loaded 2.3M rows into analytics warehouse"
}
}'curl -X POST https://api.opstrails.dev/api/v1/events \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"specversion": "1.0",
"type": "data-load",
"source": "//scripts/db-migration",
"time": "NOW",
"subject": "production",
"severity": "MAJOR",
"version": "migration-042",
"data": {
"description": "Added index on users.email column"
}
}'//airflow/etl-pipeline)