Skip to main content

Trendlines

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.

Quickstart

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" \
     http://localhost:5000/api/v1/data

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

Documentation

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

Release files for trendlines 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for trendlines 0.5.0
File Size Uploaded
trendlines-0.5.0.tar.gz 15.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for trendlines 0.5.0
File Interpreter ABI Platform
trendlines-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 46.1 kB

Release files / trendlines-0.5.0.tar.gz

Download URL trendlines-0.5.0.tar.gz
Size 15.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f956e9bbe86059b193f10b10c42983675919c299742f40368bbde85d962b64af
BLAKE2b-256 checksum
How to use checksums
d330cdb266e7f7ce5468f2d89c61a4782e9e453f83d7572f6ed3f0b65c1ee2de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

Release files / trendlines-0.5.0-py3-none-any.whl

Download URL trendlines-0.5.0-py3-none-any.whl
Size 30.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
735098c30cb547a63fedf88cc5e3a672ceb0963b16c96525cb10a2e6773d2b8e
BLAKE2b-256 checksum
How to use checksums
75627db0686f4a4bcb03dd081ca36937a55fd011c00ccf1cfc6cd733827ac5b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page