Add labs
This commit is contained in:
37
04-mosquitto/lab13/prometheus.yaml
Normal file
37
04-mosquitto/lab13/prometheus.yaml
Normal file
@ -0,0 +1,37 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
|
||||
scrape_configs:
|
||||
- job_name: 'mosquitto'
|
||||
static_configs:
|
||||
- targets: ['mosquitto-exporter:9234']
|
||||
|
||||
- job_name: 'node-exporter'
|
||||
static_configs:
|
||||
- targets: ['node-exporter:9100']
|
||||
|
||||
- job_name: prometheus
|
||||
honor_timestamps: true
|
||||
track_timestamps_staleness: false
|
||||
scrape_interval: 15s
|
||||
scrape_timeout: 10s
|
||||
scrape_protocols:
|
||||
- OpenMetricsText1.0.0
|
||||
- OpenMetricsText0.0.1
|
||||
- PrometheusText1.0.0
|
||||
- PrometheusText0.0.4
|
||||
scrape_native_histograms: false
|
||||
always_scrape_classic_histograms: false
|
||||
convert_classic_histograms_to_nhcb: false
|
||||
metrics_path: /metrics
|
||||
scheme: http
|
||||
enable_compression: true
|
||||
metric_name_validation_scheme: utf8
|
||||
metric_name_escaping_scheme: allow-utf-8
|
||||
follow_redirects: true
|
||||
enable_http2: true
|
||||
static_configs:
|
||||
- targets:
|
||||
- localhost:9090
|
||||
labels:
|
||||
app: prometheus
|
||||
Reference in New Issue
Block a user