task services added
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
apiVersion: 1
|
||||
datasources:
|
||||
- name: Prometheus
|
||||
type: prometheus
|
||||
access: proxy
|
||||
isDefault: true
|
||||
url: http://prometheus:9090
|
||||
jsonData:
|
||||
timeInterval: 5s
|
||||
16
ServicesTask/monitor/prometheus/prometheus.yml
Normal file
16
ServicesTask/monitor/prometheus/prometheus.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
global:
|
||||
scrape_interval: 5s
|
||||
evaluation_interval: 5s
|
||||
|
||||
scrape_configs:
|
||||
- job_name: prometheus
|
||||
static_configs:
|
||||
- targets: ["prometheus:9090"]
|
||||
|
||||
- job_name: nats
|
||||
static_configs:
|
||||
- targets: ["nats-exporter:7777"]
|
||||
|
||||
- job_name: db_service
|
||||
static_configs:
|
||||
- targets: ["db-service:8000"]
|
||||
Reference in New Issue
Block a user