8000 GitHub - Sawthis/directory-size-exporter: Sidecar for fluentbit to export file buffer metrics
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Sawthis/directory-size-exporter

 
 

Repository files navigation

REUSE status

Directory Size Exporter

Overview

The directory size exporter is a typical metrics exporter in the Prometheus format. It is meant to run as a sidecar to an application to watch a specific application file storage and export metrics about that storage. At the moment, it is used only as a sidecar for the telemetry-fluent-bit instances to watch the file buffer sizes.

The following configuration options are available:

  • log-format - log format parameter for the logger (json or text)
  • log-level - log level parameter for the logger (debug, info, warn, error, fatal)
  • storage-path - the path to the root directory to be observed by the exporter (default /data/log/flb-storage/)
  • metric-name - the metric name to use for the metric exposure (default telemetry_fsbuffer_usage_bytes)
  • port - the port under which the metrics will be exposed in the Prometheus format (default 2021)
  • interval - interval in seconds at which the exporter should check the storage (default 30)

Development

Available Commands

For development, use the following commands:

  • Run all tests and validation:
make
  • Run the exporter locally:
make run

About

Sidecar for fluentbit to export file buffer metrics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 75.1%
  • Makefile 22.8%
  • Dockerfile 2.1%
0