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.1.3.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: promethiite-0.1.3.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.12

File hashes

Hashes for promethiite-0.1.3.tar.gz
Algorithm Hash digest
SHA256 a7ad655c06d4653d24f8a5bef54038dae1ee7349fe37b7200281ed74e3eaf0a4
MD5 e82734181bd934b9ca71a247a69c70fc
BLAKE2b-256 e24caee930be6ecdda3625133c6cb4d1c91c8f6ce313882d1807ef3f6c489656

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for promethiite-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5552c2c72a28a770f7421caa6562e37cb2ea9e00ab3f71d167032baa10da2df7
MD5 1820648e5c1da1d21b9863c23f47ec23
BLAKE2b-256 c313fb4a285c37b4f63c486a8e71d02ea33fdeb32b572744360e71dae3a32b31

See more details on using hashes here.

Supported by

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