The following metrics are emitted by default. Each of them can be disabled by applying the following configuration:
metrics:
<metric_name>:
enabled: false
Elapsed time since the last modification of the file or folder, in seconds since Epoch.
Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
---|---|---|---|---|
s | Sum | Int | Cumulative | false |
The size of the file or folder, in bytes.
Unit | Metric Type | Value Type |
---|---|---|
b | Gauge | Int |
The following metrics are not emitted by default. Each of them can be enabled by applying the following configuration:
metrics:
<metric_name>:
enabled: true
Elapsed time since last access of the file or folder, in seconds since Epoch.
Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
---|---|---|---|---|
s | Sum | Int | Cumulative | false |
Elapsed time since the last change of the file or folder, in seconds since Epoch. In addition to file.mtime
, this metric tracks metadata changes such as permissions or renaming the file.
Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
---|---|---|---|---|
s | Sum | Int | Cumulative | false |
Name | Description | Values |
---|---|---|
file.permissions | the permissions associated with the file, using an octal format. | Any Str |
Name | Description | Values | Enabled |
---|---|---|---|
file.name | The name of the file | Any Str | true |
file.path | The absolute path of the file | Any Str | false |