Prometheus

Use this integration to monitor machine-centric as well as highly dynamic service-oriented architectures.

Overview

Prometheus is designed for reliability, to be the system you go to during an outage to allow you to quickly diagnose problems. Each Prometheus server is standalone, not depending on network storage or other remote services. You can rely on it when other parts of your infrastructure are broken, and you do not need to setup extensive infrastructure to use it.

This integration covers the alert capability of Prometheus.

Use Cases

The integration between Fylamynt and Prometheus lets you:

  • Run a Fylamynt workflow when a Prometheus notification is sent by its Alertmanager.

Configure Prometheus in Fylamynt

  • Navigate to Settings > Integrations > Prometheus.

  • Click Add integration to create and configure a new integration instance.

Parameter

Description

Required

Webhook API Key Name

Fylamynt API Key Name for webhook authentication

True

Details needed to set up Prometheus in Fylamynt:

Create an API Key or use an existing API Key. See API Keys.

Follow these steps on your Prometheus Infrastructure and click on Authorize Fylamynt:

  • Prometheus Alertmanager is required for this integration to route alerts from Prometheus to Fylamynt. Please install Prometheus Alertmanager if you don't have it installed already, login to your Prometheus Alertmanager Server.

  • Open Alertmanager configuration file, in the receivers config section create a new webhook configuration for Fylamynt either under an existing receiver or as a new receiver.

receivers:
- name: 'fylamynt'
webhook_configs:
- send_resolved: true
url: 'FYLAMYNT_WEBHOOK_URL?x-api-key=FYLAMYNT_API_KEY'
max_alerts: 0
  • In above receiver configuration for url in webhook_configs, replace FYLAMYNT_WEBHOOK_URL

    with the Webhook URL value from the right side panel. For FYLAMYNT_API_KEY, use the configured Webhook API Key Value from the right side panel.

  • Instructions to get Fylamynt Webhook API Key value

    • Under Authorize Fylamynt, choose one of the Webhook API Key Name from the dropdown, and the corresponding Webhook API Key Value should be shown. If no options are available for the Webhook API Key Name, first go to Settings --> API Keys --> Manage Keys to Create a new API Key.

  • Save the Alertmanager configuration.

  • Start the Alertmanager server or restart to load the updated configuration to take effect if it was already running.

Integration Actions

You can add these actions in Fylamynt workflow builder, as part of your workflow.

1. Prometheus Alert

Integration node to trigger Workflow with a selected Prometheus alerting rule.

Input

Parameter Name

Description

Required

alert_name

Provide Prometheus alerting rule name

True

Output

Parameter Name

Type

Description

output

Object

JSON of incoming Prometheus

severity

String

Severity of alert

summary

String

Summary of alert

description

String

Description of alert

alert_name

String

Name of Prometheus alerting rule

status

String

Status of alert

Action Example

  • Provide Prometheus alert_name