Initialize observability stack with local monitoring and server134 deployment
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
scrape_timeout: 10s
|
||||
external_labels:
|
||||
env: local
|
||||
cluster: observability-local
|
||||
scrape_configs:
|
||||
- job_name: new-api-health
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [new_api_status]
|
||||
static_configs:
|
||||
- targets: [http://host.docker.internal:3000/api/status]
|
||||
labels:
|
||||
service: new-api
|
||||
brand: local
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: blackbox:9115
|
||||
- job_name: observability-components
|
||||
static_configs:
|
||||
- targets:
|
||||
- victoriametrics:8428
|
||||
- victorialogs:9428
|
||||
- tempo:3200
|
||||
- alertmanager:9093
|
||||
- vmalert:8880
|
||||
- vmagent:8429
|
||||
- grafana:3000
|
||||
- blackbox:9115
|
||||
- job_name: mysql
|
||||
static_configs:
|
||||
- targets: [mysqld-exporter:9104]
|
||||
labels:
|
||||
service: mysql
|
||||
instance: local-mysql
|
||||
Reference in New Issue
Block a user