File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -176,3 +176,21 @@ telemetry, and more.
176176 | ` dstack_run_type ` | * string* | Run configuration type | ` task ` , ` dev-environment ` |
177177 | ` dstack_backend ` | * string* | Backend | ` aws ` , ` runpod ` |
178178 | ` dstack_gpu ` | * string?* | GPU name | ` H100 ` |
179+
180+ ### Server health metrics
181+
182+ These are operational metrics to monitor the health of the dstack server. For now, these only include HTTP metrics, but more will be added later.
183+
184+ === "Metrics"
185+ | Name | Type | Description | Examples |
186+ |------------------------------------------|-----------|-----------------------------------|--------------|
187+ | ` dstack_server_requests_total ` | * counter* | Total number of HTTP requests | ` 100.0 ` |
188+ | ` dstack_server_request_duration_seconds ` | * histogram* | HTTP request duration in seconds | ` 1.0 ` |
189+
190+ === "Labels"
191+ | Name | Type | Description | Examples |
192+ |------------------------|-----------|:--------------|----------------------------------------|
193+ | ` method ` | * string* | HTTP method | ` POST ` |
194+ | ` endpoint ` | * string* | Endpoint path | ` /api/project/main/repos/get ` |
195+ | ` http_status ` | * string* | HTTP status code | ` 200 ` |
196+ | ` project_name ` | * string?* | Project name | ` main ` |
Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ dependencies = [
3535 " gpuhunt==0.1.6" ,
3636 " argcomplete>=3.5.0" ,
3737 " ignore-python>=0.2.0" ,
38- " prometheus-fastapi-instrumentator>=7.1.0" ,
3938]
4039
4140[project .urls ]
You can’t perform that action at this time.
0 commit comments