Monitoring avatar
Monitoring
Try for free

No credit card required

View all Actors
Monitoring

Monitoring

apify/monitoring
Try for free

No credit card required

This actor monitors your actors' statuses, validates their datasets' data, and displays useful information in an interactive dashboard. And if something happens, you'll get notified via email or Slack.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

Node.js

Python

curl

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "dashboardStatisticsFrequency": "Every day at noon",
8  "validationCheckOptions": "/* global ow */\n// The `ow` variable represents the ow validation variable. More at https://sindresorhus.com/ow/index.html\n [\n    {\n        filter: \"us\", // matches all targets with \"us\" pattern\n        minItemCount: 5000,\n        schema: {\n            url: ow.string.url,\n            description: ow.string,\n        },\n    },\n    {\n        Ids: [\"A1b2C3d4\", \"B1A2d45\"], // matches 2 targets with specific IDs\n        schema: {\n            itemId: ow.number,\n            region: ow.string,\n        },\n    },\n]",
9  "validationCheckFrequency": "Per run",
10  "duplicationCheckFrequency": "Per run"
11}
12EOF
13
14# Run the Actor using an HTTP API
15# See the full API reference at https://docs.apify.com/api/v2
16curl "https://api.apify.com/v2/acts/apify~monitoring/runs?token=$API_TOKEN" \
17  -X POST \
18  -d @input.json \
19  -H 'Content-Type: application/json'
Developer
Maintained by Apify
Actor metrics
  • 2 monthly users
  • 100.0% runs succeeded
  • Created in Jul 2020
  • Modified 10 months ago
Categories