010 fix config
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
controller:
|
||||
api_prefix: "/api/v1"
|
||||
request_id_header: "X-Request-ID"
|
||||
|
||||
service:
|
||||
provider_timeout_seconds: 10.0
|
||||
max_parallel_providers: 8
|
||||
|
||||
business_logic:
|
||||
weight_round_scale: 2
|
||||
|
||||
repository:
|
||||
redis_dsn: "redis://localhost:6379/0"
|
||||
price_cache_ttl_seconds: 900
|
||||
|
||||
adapter:
|
||||
cdek_base_url: "https://api.cdek.ru/v2"
|
||||
cdek_client_id: "test-client-id"
|
||||
cdek_client_secret: "test-client-secret"
|
||||
cdek_retry_attempts: 2
|
||||
cdek_retry_backoff_seconds: 0.2
|
||||
cdek_timeout_seconds: 10.0
|
||||
cdek_cache_ttl_seconds: 900
|
||||
|
||||
observability:
|
||||
service_name: "g2s-aggregator-tests"
|
||||
otlp_endpoint: ""
|
||||
log_level: "INFO"
|
||||
|
||||
alerts:
|
||||
telegram_enabled: false
|
||||
telegram_bot_token: null
|
||||
telegram_chat_id: null
|
||||
provider_5xx:
|
||||
error_count: 5
|
||||
window_minutes: 5
|
||||
provider_p99_latency:
|
||||
threshold_ms: 5000
|
||||
window_minutes: 10
|
||||
provider_unavailable:
|
||||
duration_minutes: 5
|
||||
Reference in New Issue
Block a user