Logs and Status
Logs
Logging is the crucial feature of DeepFellow, making it transparent and observable.
Use logs command to inspect DeepFellow Infra and DeepFellow Server.
Command Description
The logs command allows users to view logs from the DeepFellow container using Docker Compose.
Usage
deepfellow infra logs [OPTIONS]or
deepfellow server logs [OPTIONS]Options
-f, --follow: Follow log output-n, --tail INTEGER: Number of lines to show from the end of the logs (default: 20)--directory DIRECTORY: Target directory for the installation
Examples
# Show last 20 lines of infra logs
deepfellow infra logs
# Follow the infra log output
deepfellow infra logs -f
# Show last 50 lines of server logs
deepfellow server logs -n 50
# Specify project directory
deepfellow server logs --directory /path/to/projectOpenTelemetry Collector Logs
To view the output of a local OpenTelemetry collector installed with deepfellow server install --otel-local, use the otel logs command. It tails the otel-collector service. The -f/--follow and -n/--tail flags behave the same as they do for server logs.
Usage
deepfellow otel logs [OPTIONS]Options
-f, --follow: Follow log output-n, --tail INTEGER: Number of lines to show from the end of the logs (default: 20)--directory DIRECTORY: Directory of the DeepFellow Server installation
Examples
# Show last 20 lines of the collector logs
deepfellow otel logs
# Follow the collector log output
deepfellow otel logs -f
# Show last 50 lines of the collector logs
deepfellow otel logs -n 50The command reports a clear error and exits when no local collector is installed, or when the collector is not running. To install a local collector, run deepfellow server install --otel-local. To start it, run deepfellow server start.
Status
status command is a quick way to health-check DeepFellow Infra or DeepFellow Server:
$ deepfellow infra status
💡 image: hub.simplito.com/deepfellow/deepfellow-infra:0.15.0
created: 2 weeks ago
status: Up 4 hours
ports: 0.0.0.0:8086->8086/tcp, [::]:8086->8086/tcp
CPU: 0.19%
Used memory: 52.26MiB
Memory limit: 11.72GiB
NET I/O: 20.4kB / 5.48kB
Disk I/O: 357MB / 0B]
$ deepfellow server status
💡 image: gitlab2.simplito.com:5050/df/df-server-new:dev
created: 8 seconds ago
status: Up 2 seconds (health: starting)
ports: 0.0.0.0:8000->8000/tcp, [::]:8000->8000/tcp
CPU: 101.52%
Used memory: 410.6MiB
Memory limit: 11.72GiB
NET I/O: 830B / 126B
Disk I/O: 299MB / 0BWe use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.