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 details)

Uploaded Source

File details

Details for the file scrapy_demo_cloudwatch_log-1.0.3.tar.gz.

File metadata

File hashes

Hashes for scrapy_demo_cloudwatch_log-1.0.3.tar.gz
Algorithm Hash digest
SHA256 12dcd0bc72deaa113d7009ced9c7b7f070ba691fffb962fdcd46af2dc763ca64
MD5 d55223473d43672b678ee2a53a83eafb
BLAKE2b-256 4f335dca3dcf074f9e7ef7ace361718896a4261e532eb55629e9ab6c17e997d6

See more details on using hashes here.

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