Skip to main content

No project description provided

Project description

Scrapy Demo Cloudwatch Log

Adds a log line that is easy to parse with Cloudwatch filters to create a useful metric. To enable:

EXTENSIONS = {
    'scrapy_demo_cloudwatch_log.DemoLogger': 100
}

Then you can use this filter expression: { $.eventType = "ScrapyCrawlSummary" }. It creates the demo metric $.item_scraped_count. The $.spider can be used as a dimension.

Source code in Github.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scrapy_demo_cloudwatch_log-1.0.3.tar.gz (1.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page