JMX Dashboard(Basic)
jmx exporter monitor
Description
Dashboard on basic metrics for prometheus/jmx_exporter.
Requirements:
- The agent JMX variables
lowercaseOutputName
andlowercaseOutputLabelNames
must be set tofalse
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'
Data source config
Collector config:
Upload an updated version of an exported dashboard.json file from Grafana
Revision | Description | Created | |
---|---|---|---|
Download |