Extension StatsD


Extension Basics

Title
StatsD
Name
ckanext-statsd
Type
Public extension
Description
StatsD integration for CKAN providing real-time metrics collection and monitoring by sending timing and counter data to a StatsD server.
CKAN versions
Download-Url (zip)
Last commit
7 years ago (2018-05-28 21:50:35)
Url to repo
Category
Visualization & Analytics


Background Infos

Description (long)
Show details

ckanext-statsd

StatsD extension for CKAN.

Collects timing and counter metrics from CKAN and sends them to a StatsD server for real-time monitoring and alerting.

Features

  • Sends request timing data to StatsD
  • Configurable StatsD host, port, and prefix
  • Optional request timing logging
  • Integration with Graphite/StatsD monitoring stack
  • Lightweight metrics collection with minimal overhead

Requirements

  • CKAN 2.7+
  • StatsD server (e.g., Graphite/StatsD, Datadog Agent)

Installation

To install ckanext-statsd:

  1. Activate your CKAN virtual environment.
  2. Install the extension: pip install ckanext-statsd or from source: git clone https://github.com/rossjones/ckanext-statsd.git cd ckanext-statsd pip install -e .
  3. Add statsd to the ckan.plugins setting in your CKAN config file.
  4. Configure the StatsD connection settings.
  5. Restart CKAN.

Config Settings

ckanext.statsd.host = localhost
ckanext.statsd.port = 8125
ckanext.statsd.prefix = ckan
ckanext.statsd.logtimes = true

License

MIT

Version
0.0.1
Version release date
2014-10-03
Contact name
Ross Jones
Contakt email
Contact Url
(not set)


Installation Guide

Configuration hints

Requires running StatsD server. Configure host, port and prefix for metrics collection.

Plugins to configure (ckan.ini)
statsd
CKAN Settings (ckan.ini)
# ckanext.statsd.host = localhost
# ckanext.statsd.port = 8125
# ckanext.statsd.prefix = ckan
# ckanext.statsd.logtimes = true
DB migration to be executed
(not set)
<< back to Extensions