Integrate 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.
Permissions
Only users with ROLE_MANAGER
permissions can perform these actions.
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¶
-
Open a browser and log in to your Lightrun account.
-
Go to the Manager menu and click System Integrations.
The page loads with all available integrations:
-
From the Integrations page, click Connect from the Prometheus card.
The Prometheus Integration window pops up:
-
Click Copy from under the scrape configuration.
-
Paste the
scrape_configs
data to the existingscrape_configs
section in your Prometheus YAML configuration file. -
From the Round Up dropdown list, select the rounding rule to be applied by Prometheus for your Lightrun data.
-
Click Connect and wait for the approval toast message.
-
To disable the configuration, click Disconnect.