-
Notifications
You must be signed in to change notification settings - Fork 28
/
prometheus.yml
74 lines (72 loc) · 3.03 KB
/
prometheus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
global:
scrape_interval: 30s # By default, scrape targets every 5 seconds.
# Attach these labels to any time series or alerts when communicating with
# external systems (federation, remote storage, Alertmanager).
# external_labels:
# monitor: 'nats-openrmf-server'
# A scrape configuration containing exactly one endpoint to scrape:
scrape_configs:
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
- job_name: 'nats-openrmf-server'
static_configs:
- targets: ['natspromexporter:7777']
- job_name: 'nats-openrmf-client-metrics'
static_configs:
- targets: ['nats-client-metrics:7778']
- job_name: 'openrmf-api-read-prometheus'
# metrics_path defaults to '/metrics'
static_configs:
- targets: ['openrmfapi-read:8084']
- job_name: 'openrmf-api-save-prometheus'
# metrics_path defaults to '/metrics'
static_configs:
# replace the IP with your local IP for development
# localhost is not it, as that is w/in the container :)
- targets: ['openrmfapi-save:8082']
- job_name: 'openrmf-api-template-prometheus'
# metrics_path defaults to '/metrics'
static_configs:
# replace the IP with your local IP for development
# localhost is not it, as that is w/in the container :)
- targets: ['openrmfapi-template:8088']
- job_name: 'openrmf-api-controls-prometheus'
# metrics_path defaults to '/metrics'
static_configs:
# replace the IP with your local IP for development
# localhost is not it, as that is w/in the container :)
- targets: ['openrmfapi-controls:8094']
- job_name: 'openrmf-api-compliance-prometheus'
# metrics_path defaults to '/metrics'
static_configs:
# replace the IP with your local IP for development
# localhost is not it, as that is w/in the container :)
- targets: ['openrmfapi-compliance:8092']
- job_name: 'openrmf-api-scoring-prometheus'
# metrics_path defaults to '/metrics'
static_configs:
# replace the IP with your local IP for development
# localhost is not it, as that is w/in the container :)
- targets: ['openrmfapi-scoring:8090']
- job_name: 'openrmf-api-upload-prometheus'
# metrics_path defaults to '/metrics'
static_configs:
# replace the IP with your local IP for development
# localhost is not it, as that is w/in the container :)
- targets: ['openrmfapi-upload:8086']
- job_name: 'openrmf-api-audit-prometheus'
# metrics_path defaults to '/metrics'
static_configs:
# replace the IP with your local IP for development
# localhost is not it, as that is w/in the container :)
- targets: ['openrmfapi-audit:8096']
- job_name: 'openrmf-api-report-prometheus'
# metrics_path defaults to '/metrics'
static_configs:
# replace the IP with your local IP for development
# localhost is not it, as that is w/in the container :)
- targets: ['openrmfapi-audit:8098']
- job_name: 'openrmf-web'
scrape_interval: 1m
metrics_path: '/metrics'
static_configs:
- targets: ['nginx-metrics:9113']