Skip to main content

Promethiite Ingests Prometheus metrics, converts them to Graphite metrics, and sends them to a configured Graphite server over TCP

Project description

promethiite

Promethiite ingests Prometheus metrics, converts them to Graphite metrics, and sends them to a configured Graphite server over TCP

Requires Python 3.6+

Installation

You can install with pip:

python3 -m pip install promethiite

Or install from source:

git clone <url>
pip install promethiite

Usage

Promethiite is intended to be run at an interval, via e.g. cron or Systemd timers. There is no daemon mode.

usage: promethiite [-h] [--file FILE_PATH] --prefix PREFIX --server SERVER [--port PORT] [--proto {tcp,udp}] [--verbose]

        Ingests Prometheus metrics, converts them to Graphite metrics, and
        sends them to a configured Graphite server over TCP


options:
  -h, --help            show this help message and exit
  --file FILE_PATH, -f FILE_PATH
                        A file path from which to get the stats. By defaults expects STDIN
  --prefix PREFIX, -p PREFIX
                        Value to prepend to the value name on send to Graphite
  --server SERVER, -s SERVER
                        Graphite server
  --port PORT, -o PORT  Graphite server port
  --proto {tcp,udp}, -r {tcp,udp}
                        Protocol to use to reach the Graphite server
  --verbose, -v         Set output verbosity (-v=warning, -vv=debug)

examples:

        promethiite <args>

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

To run the test suite:

# Dependent targets create venv and install dependencies
make

Please make sure to update tests along with any changes.

License

License :: OSI Approved :: MIT License

Project details


Download files

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

Source Distribution

promethiite-0.2.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

promethiite-0.2.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file promethiite-0.2.0.tar.gz.

File metadata

  • Download URL: promethiite-0.2.0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for promethiite-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7fce6b4350333f0342165420dc18cbeba3ac65919b773d18cc1106b10d17e02b
MD5 67e4c415115d6de4c7e7c34196f736ab
BLAKE2b-256 7fa0e591ed2f28eea2d6a9f3a6bebd6d76772cab51613485c1916764e4383e2c

See more details on using hashes here.

File details

Details for the file promethiite-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: promethiite-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for promethiite-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 459db60ddf02a08d06be00a2df9469fae3e9730b44e19fceb4fe3beb112aabc6
MD5 5df1b1c417ba28a2e3a0bf0424f9994b
BLAKE2b-256 8b46c0280807e56e9759f81c831ba2751a1cd4795ae4456746e72ba2354ec84d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page