Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Lightweight time-series recording.

Project description


A simple, lightweight alternative to Graphite.

Build Status Coverage Status

What is Trendlines?

Trendlines is a tool for passively collecting and displaying time-based or sequential numeric data. Built on Flask, PeeWee, and Plotly, it provides a simple interface for adding and viewing your metrics.

What can I use it for?

Anything, really. Well, anything that (a) you can assign a number to and (b) might change over time.

Examples include:

  • Test coverage per project
  • Code quality metrics per commit
  • House temperature
  • Distance driven per trip
  • Distance per fillup (or per charge for the eco-friendly folk)
  • How many times the dog barks
  • How often some clicks the Big Red Button on your webpage

It's been designed to handle infrequent, variable interval data. Sometimes real-world data just doesn't appear at nice, regular intervals.


Install and run in a development environment using Docker:

docker run -p 5000:80 -d dougthor42/trendlines:latest

Send in some data:

Note: there are simplier ways to do this. Please see the usage documentation for details.

curl -X POST --data '{"metric": "my.metric", "value": 12.234}" \
     --header "Content-Type: application/json" \

And then open up a browser and navigate to http://localhost:5000.


Full documentation is hosted by ReadTheDocs. It can be found here.

Project details

Download files

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

Files for trendlines, version 0.5.0
Filename, size File type Python version Upload date Hashes
Filename, size trendlines-0.5.0-py3-none-any.whl (30.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size trendlines-0.5.0.tar.gz (15.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page