Skip to main content

Prometheus Prometheus

Prometheus is a software application used for event monitoring and alerting. It records real-time metrics in a time series database built using an HTTP pull model, with flexible queries and real-time alerting.

Creating a Prometheus connection

To create the connection you need:

  • A username and password
  • An API address

Obtaining the credentials

In Prometheus the username and passwords are stored in web.yml file in this format

basic_auth_users:
alice: <your bcrypt hash>
bob: $2b$12$D5lgvKt7gvbvVUkP2gUlJe/0bdwLi6S5fRQnD0x1MMRehTeOTAkjm

Follow this guide to create a username and password.

Creating your connection

  1. In the Blink platform, navigate to the Connections page > Add connection. A New Connection dialog box opens displaying icons of external service providers available.
  2. Select the Prometheus icon. A dialog box with name of the connection and connection methods appears.
  3. (Optional) Edit the name of the connection. At a later stage you cannot edit the name.
  4. Select Username & Password as the method to create the connection.
  5. Fill in the parameters:
    • The username and password
    • The API address
  6. (Optional) Click Test Connection to test it.
  7. Click Create connection. The new connection appears on the Connections page.