Prometheus: Toolkit PowerPack Overview

Download this manual as a PDF file 

This section describes how to use the Prometheus: Toolkit PowerPack.

What is the Prometheus: Toolkit PowerPack?

This PowerPack allows users to build Dynamic Applications that monitor Prometheus using PromQL, a functional query language (Prometheus Query Language). PromQL allows users to select and aggregate time series data in real time. The SL1 platform collects data using these Dynamic Applications to monitor, visualize, and forecast information. This is a Python-3 only PowerPack.

What Does the Prometheus: Toolkit PowerPack Include?

This Prometheus: Toolkit PowerPack provides the ability to create Dynamic Applications that query the Prometheus server without having to write snippet code. This PowerPack includes sample Dynamic Application that can be easily modified and replicated to retrieve metrics from a Prometheus server through PromQL language.

The Prometheus: Toolkit PowerPack includes the following features:

  • A PromQL execution environment.
  • A list of required steps for PromQL Dynamic Application development.

  • A template PowerPack implementation that demonstrates the use of the available steps.

  • Support for these authentication types: Basic, Bearer Token, API Key, and Oauth2.

The Prometheus: Toolkit does not support Histogram and Summary metric types.

Installing the Prometheus: Toolkit PowerPack

Before you can use the Snippet Framework, you must import and install the latest version of the Prometheus: Toolkit PowerPack.

To download and install a PowerPack:

  1. Download the PowerPack from the ScienceLogic Support Site.
  2. Go to the PowerPack Manager page (System > Manage > PowerPacks).
  3. In the PowerPack Manager page, click the Actions button, then select Import PowerPack.
  4. The Import PowerPack dialog box appears.

  5. Click the [Browse] button and navigate to the PowerPack file.
  6. When the PowerPack Installer modal appears, click the Install button to install the PowerPack.

If you exit the PowerPack Installer without installing the imported PowerPack, the imported PowerPack will not appear in the PowerPack Manager page. However, the imported PowerPack will appear in the Imported PowerPacks page. This page appears when you click the Actions menu and select Install PowerPack.

Documentation for the Prometheus: Toolkit PowerPack

Full documentation for the PowerPack is provided at the following location:

http://docs.sciencelogic.com/dev-docs/