|Latest release:||v0.1.3 released on Oct. 23, 2020|
|Release downloaded:||0 times|
|Requires:||Indigo v7.0.2 or higher|
|Download latest release|
Prometheus is a time-series database, widely used for visualizing application metrics. This is a simple client that will present device & variable information for Prometheus to gather. Once running, Prometheus has a rich query engine for building simple views or you can integrate with much more powerful visualization tools (such as Grafana).
You can choose to present variables, devices or both. If you run into performance issues with either option, please submit an issue.
In addition to the automatic metrics for devices and variables, you can create devices in Indigo that will present custom metrics for scraping.
Once your plugin is configured, you can view the metrics by visiting http://localhost:9167/metrics (replace host and port as needed). This is the default endpoint used by Prometheus to scrape data. This can be done before installing Prometheus.
The easiest way to install Prometheus on macOS is using Homebrew. From there, you can either register it as a service to run automatically, or run it manually to view debugging output.
Once you have Prometheus installed, simply add the following job to your
scrape_configs and restart Prometheus:
- job_name: 'indigo'
- targets: ['localhost:9176']
scrape_interval or other configuration values as needed for your installation.
Once you start collecting data, Prometheus has a rich query language called PromQL.
Variables are stored in time series using their ID:
TIP: The same variable can be referenced by name using a label selector:
Device states are either on (1) or off (0). Using label selectors and regular expressions, metrics can be combined into custom reports.
|Released on:||Oct. 23, 2020|
|Download this release|
Initial release of Prometheus client for Indigo.
You will need to add specific jobs to an existing Prometheus instance for this plugin.