Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

CDN stats plugin for collectd

Project Description

A collectd plugin to fetch edge stats from CDN vendors. So that you can store and graph them to your heart’s content.


The latest stable version can be installed from PyPI. Either by hand:

$ pip install collectd-cdn

Or configuration management, such as Puppet:

package { 'collectd-cdn':
  ensure   => present,
  provider => 'pip',


A single CDN vendor is currently supported.


To configure the plugin:

<LoadPlugin python>
  Globals true

<Plugin python>
  Import "collectd_cdn.fastly"

  <Module "collectd_cdn.fastly">
    # Authenticate using user/pass (recommended)
    ApiUser ""
    ApiPass "password"

    # OR using an API key
    ApiKey "68b329da9893e34099c7d8ad5cb9c940"

      Name "www"
      Id "6IqS8vK4QRMAlb1ByyjrJF"
      Name "assets"
      Id "qd8G3pOP2nGw0UlSE04t8v"

The highest resolution of data that Fastly provide is per-minute. So you’ll need to configure your storage, such as Graphite’s Carbon, with a retention rate to match:

pattern = ^[^.]+\.cdn_fastly-.+\.
retentions = 1m:31d,…

Release History

This version
History Node


History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(4.4 kB) Copy SHA256 Hash SHA256
Egg 2.7 Feb 19, 2015

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers