Skip to content
/ aule Public

A simple prometheus metrics gateway backed by SQLite.

License

Notifications You must be signed in to change notification settings

ctrltokyo/aule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aule

A simple prometheus metrics gateway backed by SQLite.

Description

The idea behind this is to create a simple boilerplate for a Prometheus "metrics fetch and expose" endpoint.
This is useful for when you want to run arbitrary code (connect to PSQL, run a function etc.) and expose an endpoint for Prometheus to scrape, without worrying about the format.
This tool is backed by a simple SQLite database, which allows for ease of backup, and also programmatic insertion of new metrics via plugins (soon).

Setup

Use pipenv install to install dependencies.

Usage

Look at aule.py and implement the components you want for your custom environment.

Information

Missing:

  • Proper module support.
  • Does not support labels at this point.
  • Does not support enum types.
  • Documentation.

© Alexander Nicholson (ctrlTokyo & DragonStuff)
Please read LICENCE.md for licencing information.

About

A simple prometheus metrics gateway backed by SQLite.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages