fix: use common timeout middleware (#6866)

* fix: use common timeout middleware

* fix: use apiserver factory for config

* fix: add backward compatibility for old variables

* fix: remove apiserver provider and use config directly

* fix: remove apiserver interface

* fix: address comments

* fix: address minor comments

* fix: address minor comments
This commit is contained in:
Nityananda Gohain
2025-01-22 23:18:47 +05:30
committed by GitHub
parent 726f2b0fa2
commit df5ab64c83
13 changed files with 157 additions and 142 deletions

View File

@@ -68,3 +68,13 @@ sqlstore:
sqlite:
# The path to the SQLite database file.
path: /var/lib/signoz/signoz.db
##################### APIServer #####################
apiserver:
timeout:
default: 60s
max: 600s
excluded_routes:
- /api/v1/logs/tail
- /api/v3/logs/livetail