Skip to main content

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

Metadata

Release files for promethiite 0.2.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 promethiite 0.2.0
File Size Uploaded Provenance Actions
promethiite-0.2.0.tar.gz 5.8 kB Without provenance Details for promethiite-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 10.8 kB

Release files / promethiite-0.2.0.tar.gz

Download URL promethiite-0.2.0.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7fce6b4350333f0342165420dc18cbeba3ac65919b773d18cc1106b10d17e02b
BLAKE2b-256 checksum
How to use checksums
7fa0e591ed2f28eea2d6a9f3a6bebd6d76772cab51613485c1916764e4383e2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.2

Release files / promethiite-0.2.0-py3-none-any.whl

Download URL promethiite-0.2.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
459db60ddf02a08d06be00a2df9469fae3e9730b44e19fceb4fe3beb112aabc6
BLAKE2b-256 checksum
How to use checksums
8b46c0280807e56e9759f81c831ba2751a1cd4795ae4456746e72ba2354ec84d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.2

Security for promethiite 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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