# python-diamond/Diamond

Diamond is a python daemon that collects system metrics and publishes them to Graphite (and others). It is capable of collecting cpu, memory, network, i/o, load and disk metrics. Additionally, it features an API for implementing custom collectors for gathering metrics from almost any source.

Repository: https://github.com/python-diamond/Diamond
Canonical: https://ross.abutalabs.com/products/python-diamond-diamond
Homepage: http://diamond.readthedocs.org/
Language: Python
License: MIT
License Family: permissive
Last push: 2024-06-29T14:21:40+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4709, "days_push": 795, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1756, forks 591 (observed 2026-08-28T04:05:32.224366+00:00)

## What it is
Diamond is a Python daemon that collects system metrics such as CPU, memory, network, I/O, load, and disk statistics, and publishes them to Graphite and other backends. It provides an API for writing custom collectors to gather metrics from almost any source.

## Use cases
- collect system metrics and send them to graphite
- monitor cpu memory and disk usage on servers
- write a custom metrics collector in python
- feed time-series data to a graphing dashboard
- gather network and i/o statistics from linux hosts

## When to choose
- you need a lightweight agent to ship host metrics to graphite
- you want to extend metrics collection with custom python collectors

## When to avoid
- you need a modern metrics stack with prometheus or opentelemetry
- the project is in maintenance mode with limited new development

## Facets
- artifact type: service
- maturity: maintenance
- function: monitoring, logging
- domain: monitoring, analytics
- platform: python, cross-platform
- tags: metrics-collection, graphite, system-metrics, daemon, time-series, devops, linux

## Member repositories
- python-diamond/Diamond (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:32.224366+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:27:53.152833+00:00, confidence not recorded.
  - readme: https://github.com/python-diamond/Diamond (fetched 2026-08-28T04:05:32.224366+00:00, sha b4d68dc855d0)
  - registry_pypi: https://pypi.org/pypi/diamond/json (fetched 2026-08-29T11:06:26.085283+00:00, sha 7cbe42b26610)
- Data as of 2026-08-30T08:39:29.467469+00:00.
