metrics: add a basic setup, collect metrics for the server

This commit is contained in:
Marten Seemann
2024-01-13 11:47:37 +07:00
parent 459a6f3df9
commit e66a925d64
9 changed files with 261 additions and 8 deletions

View File

@@ -0,0 +1,9 @@
global:
scrape_interval: 15s
scrape_configs:
- job_name: 'quic-go'
scrape_interval: 15s
static_configs:
- targets: ['host.docker.internal:5001']
metrics_path: '/prometheus'