-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Alex Hall <[email protected]>
- Loading branch information
1 parent
c7b2115
commit 54c19b7
Showing
3 changed files
with
39 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,28 @@ | ||
!!! warning "🚧 Work in Progress 🚧" | ||
This page is yet to be written, [contact us](../help.md) if you have any questions. | ||
By default, **Logfire** does not collect system metrics. | ||
|
||
To enable metrics, you need to install the `logfire[system-metrics]` extra: | ||
|
||
{{ install_logfire(extras=['system-metrics']) }} | ||
|
||
### Available Metrics | ||
|
||
Logfire collects the following system metrics: | ||
|
||
* `system.cpu.time`: CPU time spent in different modes. | ||
* `system.cpu.utilization`: CPU utilization in different modes. | ||
* `system.memory.usage`: Memory usage. | ||
* `system.memory.utilization`: Memory utilization in different modes. | ||
* `system.swap.usage`: Swap usage. | ||
* `system.swap.utilization`: Swap utilization | ||
* `system.disk.io`: Disk I/O operations (read/write). | ||
* `system.disk.operations`: Disk operations (read/write). | ||
* `system.disk.time`: Disk time (read/write). | ||
* `system.network.dropped.packets`: Dropped packets (transmit/receive). | ||
* `system.network.packets`: Packets (transmit/receive). | ||
* `system.network.errors`: Network errors (transmit/receive). | ||
* `system.network.io`: Network I/O (transmit/receive). | ||
* `system.network.connections`: Network connections (family/type). | ||
* `system.thread_count`: Thread count. | ||
* `process.runtime.memory`: Process memory usage. | ||
* `process.runtime.cpu.time`: Process CPU time. | ||
* `process.runtime.gc_count`: Process garbage collection count. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters