Skip to content

Commit da8ad27

Browse files
committed
chore(fluentbit): address quick comments
1 parent 4210e98 commit da8ad27

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/docs/guides/server-deployment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ Fluent-bit supports two modes depending on how you want to access logs.
240240

241241
=== "Ship-only mode"
242242

243-
Logs are forwarded to Fluent-bit but cannot be read through dstack.
243+
Logs are forwarded to Fluent-bit but cannot be read through `dstack`.
244244
The dstack UI/CLI will show empty logs. Use this mode when:
245245

246246
- You have an existing logging infrastructure (Kibana, Grafana, Datadog, etc.)

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,6 @@ nebius = [
219219
fluentbit = [
220220
"fluent-logger>=0.10.0",
221221
"elasticsearch>=8.0.0",
222-
"httpx",
223222
"dstack[server]",
224223
]
225224
all = [

src/dstack/_internal/server/services/logs/fluentbit.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
from typing import List, Optional, Protocol
22
from uuid import UUID
33

4+
import httpx
5+
46
from dstack._internal.core.errors import ServerClientError
57
from dstack._internal.core.models.logs import (
68
JobSubmissionLogs,
@@ -146,7 +148,6 @@ def close(self) -> None:
146148

147149
FLUENTBIT_AVAILABLE = True
148150
try:
149-
import httpx
150151
from fluent import sender as fluent_sender
151152
except ImportError:
152153
FLUENTBIT_AVAILABLE = False

0 commit comments

Comments
 (0)