Downloads: 90

Reviews: 0

  • JMX_Dashboard_Basic_01.jpg
    JMX_Dashboard_Basic_01.jpg
  • JMX_Dashboard_Basic_02.jpg
    JMX_Dashboard_Basic_02.jpg
  • JMX_Dashboard_Basic_03.jpg
    JMX_Dashboard_Basic_03.jpg
  • JMX_Dashboard_Basic_04.jpg
    JMX_Dashboard_Basic_04.jpg
  • JMX_Dashboard_Basic_05.jpg
    JMX_Dashboard_Basic_05.jpg
  • JMX_Dashboard_Basic_06.jpg
    JMX_Dashboard_Basic_06.jpg
  • JMX_Dashboard_Basic_07.jpg
    JMX_Dashboard_Basic_07.jpg

Description

Dashboard on basic metrics for prometheus/jmx_exporter.

Requirements:

  • The agent JMX variables lowercaseOutputName and lowercaseOutputLabelNames must be set to false or undefined.

Sample Prometheus configuration:

global:
  scrape_interval:     15s
  evaluation_interval: 15s

scrape_configs:
# Задание сбора данных самой службы
- job_name: 'prometheus'
  static_configs:
  - targets: ['localhost:9090']

# Задание для сбора метрик Java приложений
- job_name: 'jmx'
  metrics_path: /
  scheme: http
  static_configs:
  # Targets for multi-nodes apps
  - targets: ['srv-apps-001.domain.loc:19000']
    labels:
      instance: 'multi-node.domain.com[node-01.domain.loc]'
  - targets: ['srv-apps-002.domain.loc:19000']
    labels:
      instance: 'multi-node.domain.com[node-02.domain.loc]'
  # Target for apps witch one node:
  - targets: ['srv-apps-003.domain.loc:19000', 'srv-apps-004.domain.loc:19000']
  - targets: ['srv-apps-005.domain.loc:19000']
    labels:
      instance: 'one-node.domain.com'
Dependencies: