Skip to main content

Exposes the audio levels of a stream to Prometheus

Project description

Helios

Monitors an RTMP stream and reports the audio levels to Prometheus

Building

Installing from source is done as follows

python3 setup.py install

Install

Production Install

Helios is available from PyPi as helios-monitor. It can be installed using

sudo apt install ffmpeg
pip install helios-monitor

Helios exposes a Prometheus metrics endpoint with the volume of the stream that can be scraped.

Helios can then be run using

helios <stream_url>

Development Install

When developing Helios, it is useful to use a virtual environment to avoid poluting your desktop with unnecessary libraries. This is done using VirtualEnv.

Once VirtualEnv is installed, fork, clone the repo and create a virtual environment:

sudo apt install ffmpeg
git clone https://salsa.debian.org/debconf-video-team/helios
cd helios
virtualenv -p python3 pyenv
pyenv/bin/pip install -e .

Then the project can be edited and finally run as follows:

pyenv/bin/helios <stream url>

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

helios-monitor-2.0.1.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

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

helios_monitor-2.0.1-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file helios-monitor-2.0.1.tar.gz.

File metadata

  • Download URL: helios-monitor-2.0.1.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for helios-monitor-2.0.1.tar.gz
Algorithm Hash digest
SHA256 9c6652388e2c72ec6e51e03488a1b4df361622a69c553824e0b277528d5ff1db
MD5 aed7ddc722ba6ccbb379ccd722a790e5
BLAKE2b-256 1ddce2c20ac4da7cceaa78dd745c475a66d8078b2f150fc3c5efde1b67659917

See more details on using hashes here.

File details

Details for the file helios_monitor-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: helios_monitor-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for helios_monitor-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a96648cc053e11d2c54b76ef80b6fb5beb37a66b1736da044a36625cac23b7e2
MD5 428c204681bc67d982916ba9cb38ba96
BLAKE2b-256 9ad8ab1bf64035f3e7d07f998a1443840af8c58488395ab8078e1044b2043d5a

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