Skip to content

Commit

Permalink
update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
jspaleta committed Apr 30, 2021
1 parent 7ba3dda commit 30c8506
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ Versioning](http://semver.org/spec/v2.0.0.html).
## Unreleased

### Added
- Added --metrics option to change output into something Sensu agent can register as tagged metrics
- Added --metrics-format option to make tagged metrics format selectable
- Added --tags option to make it possible to add additional tags for all metrics
- Added --human-readable option to support ignoring human-readable option like df unix/linux command

## [0.4.2] - 2021-03-31
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ Flags:
-r, --include-read-only Include read-only filesystems (default false)
-f, --fail-on-error Fail and exit on errors getting file system usage (e.g. permission denied) (default false)
-H, --human-readable print sizes in powers of 1024 (default false)
--metrics Output metrics instead of human readable output
--metrics-format string Metrics output format, supports opentsdb_line or prometheus_text (default "opentsdb_line")
--tags strings Comma separated list of additional metrics tags using key=value format.
-h, --help help for check-disk-usage
Use "check-disk-usage [command] --help" for more information about a command.
Expand Down Expand Up @@ -79,6 +82,7 @@ continue to check the remaining file systems as expected.
* The `--human-readable` (False by default) option determines if you prefer
to display sizes of different drives in a human format. (Like df Unix/linux
command.)
* The `--metrics` (False by default) option will change text output to conform to selected metrics format (`--metrics-format`)

## Configuration

Expand Down

0 comments on commit 30c8506

Please sign in to comment.