Widget Valeur d'alerte

Les valeurs d’alerte sont des valeurs de requête qui représentent la valeur actuelle d’une métrique dans n’importe quel monitor défini sur votre système :

Valeur d'alerte

Configuration

Configuration de la valeur d'alerte

Configuration

  1. Sélectionnez un monitor existant à représenter graphiquement.
  2. Sélectionnez le format d’affichage de la valeur :
    • valeur brute
    • 0/1/2/3 décimale(s)
  3. Sélectionnez l’unité à afficher :
    • Automatic
    • /s Par seconde
    • b Bits
    • B Octets
    • Custom

Options

Titre

Affichez un titre personnalisé pour votre widget en cochant la case Show a Title :

Titre du widget

Définissez sa taille et son alignement si vous le souhaitez.

API

Ce widget peut être utilisé avec l’API Dashboards. Consultez la documentation à ce sujet pour en savoir plus.

Le schéma JSON utilisé pour le widget Valeur d’alerte est le suivant :

Expand All

Champ

Type

Description

alert_id [required]

string

ID of the alert to use in the widget.

precision

int64

Number of decimal to show. If not defined, will use the raw value.

text_align

enum

How to align the text on the widget. Allowed enum values: center,left,right

title

string

Title of the widget.

title_align

enum

How to align the text on the widget. Allowed enum values: center,left,right

title_size

string

Size of value in the widget.

type [required]

enum

Type of the alert value widget. Allowed enum values: alert_value

default: alert_value

unit

string

Unit to display with the value.

{
  "alert_id": "",
  "precision": "integer",
  "text_align": "string",
  "title": "string",
  "title_align": "string",
  "title_size": "string",
  "type": "alert_value",
  "unit": "string"
}

Pour aller plus loin