Live Workshop: Integrate Google SecOps with Bindplane - Join Us on February 26th at 11 AM ET!Sign Up Now

File Stats

Supported Platforms

PlatformMetricsLogsTraces
Linux
Windows
macOS

Configuration Table

ParameterTypeDefaultDescription
include*stringThe glob path for files to watch.
initial_delayint1The time (seconds) to wait before starting the collection.
collection_intervalint60How often (seconds) to scrape for metrics.
metricsmetricsWhich metrics to collect for the included file(s).

Metrics

NameUnitTypeMonotonicDescription
file.mtimesecondsSumfalseElapsed time since the last modification of the file or folder, in seconds since Epoch.
file.sizebytesGaugeThe size of the file or folder, in bytes.
file.atimesecondsSumfalseElapsed time since last access of the file or folder, in seconds since Epoch.
file.countintGaugeThe number of files matched.
file.ctimesecondsSumfalseElapsed 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.
*required field