477518e5eb
API instrumentation - metrics and logging * api instrumentation prometheus metrics and logging for all routes * Merge branch 'main' of bitbucket.org:aarete/query-orchestration into feature/prometheus * add log_level and sync the config initialize * docs * cleanup * add to compose:up:test * docs for prometheus testing * custom metrics * cleanup * merge main * add tests * cleanup docs * cleanup * lint * fix unit tests (attempt) * fix tests * resolvesetlogger * expose 8080 * compose changes * bugfixesformichael * don't build _test * merge in main * job_sync_runner
42 lines
868 B
YAML
42 lines
868 B
YAML
# prometheus.yml
|
|
---
|
|
global:
|
|
scrape_interval: 10s
|
|
|
|
scrape_configs:
|
|
- job_name: 'doc_init_runner'
|
|
static_configs:
|
|
- targets:
|
|
- 'doc_init_runner:8080'
|
|
metrics_path: '/metrics'
|
|
|
|
- job_name: 'doc_clean_runner'
|
|
static_configs:
|
|
- targets:
|
|
- 'doc_clean_runner:8080'
|
|
metrics_path: '/metrics'
|
|
|
|
- job_name: 'doc_text_runner'
|
|
static_configs:
|
|
- targets:
|
|
- 'doc_text_runner:8080'
|
|
metrics_path: '/metrics'
|
|
|
|
- job_name: 'query_sync_runner'
|
|
static_configs:
|
|
- targets:
|
|
- 'query_sync_runner:8080'
|
|
metrics_path: '/metrics'
|
|
|
|
- job_name: 'query_runner'
|
|
static_configs:
|
|
- targets:
|
|
- 'query_runner:8080'
|
|
metrics_path: '/metrics'
|
|
|
|
- job_name: 'query_service'
|
|
static_configs:
|
|
- targets:
|
|
- 'query_service:8080'
|
|
metrics_path: '/metrics'
|