Реализовать наблюдаемость мессенджера и проверить её под нагрузкой
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
global:
|
||||
scrape_interval: 2s
|
||||
evaluation_interval: 2s
|
||||
|
||||
rule_files:
|
||||
- /etc/prometheus/alerts.yaml
|
||||
|
||||
scrape_configs:
|
||||
- job_name: messenger-otel
|
||||
honor_labels: true
|
||||
static_configs: [{targets: ["otel-collector:8889"]}]
|
||||
- job_name: collector
|
||||
static_configs: [{targets: ["otel-collector:8888"]}]
|
||||
Reference in New Issue
Block a user