Skip to content

Integrate the application server with Prometheus

Prometheus is an open source monitoring and alerting toolkit that scrapes and stores time series data from its configured targets (such as Lightrun), stores that data locally and then runs rules over the data for aggregation, recording and alerting. and offers multiple modes for data visualization and alert configurations.

Note

Manager role is required to edit integrations.

Prerequisites

Install and configure Prometheus. Refer to the Prometheus FAQ as well for additional help.

Ensure you've configured piping from the IDE.

Connect to and disconnect from Prometheus

  1. Open a browser and log in to your Lightrun account.

  2. Go to the Manager menu and click System Integrations.

    The page loads with all available integrations:

    Integrations Page -half

  3. From the Integrations page, click Connect from the Prometheus card.

    The Prometheus Integration window pops up:

    Prometheus Configuration -half

  4. Click Copy from under the scrape configuration.

  5. Paste the scrape_configs data to the existing scrape_configs section in your Prometheus YAML configuration file.

    Paste script

  6. From the Round Up dropdown list, select the rounding rule to be applied by Prometheus for your Lightrun data.

  7. Click Connect and wait for the approval toast message.

  8. To disable the configuration, click Disconnect.


Last update: April 7, 2021