Skip to content

Releases: NCCloud/zfs_exporter

Release v1.0.0

02 Oct 08:02
Compare
Choose a tag to compare

Changes in this release:

1.0.0 (2023-10-02)

Bug Fixes

  • build: Tag correct commit SHA (0712333)
  • build: Update deps (ddf8e09)
  • build: update go module version to match release tag major version (f709083)
  • build: Update promu config to build v2 (2a38914)
  • build: Update to Go 1.17 for crossbuild, and enable all platforms (f47b69a)
  • ci: Fix syntax error in github actions workflow (0b6e8bc)
  • collector: Avoid race on upstream channel close, tidy sync points (e6fbdf5)
  • core: Correctly handle and report errors listing pools (efbcceb), closes #18
  • core: Update dependencies (b39382b)
  • docs: Correct misspelling (066c7d2)
  • docs: Document web.disable-exporter-metrics flag in README (20182da)
  • logging: Include collector in warning for unsupported properties (1760a4a)
  • metrics: Fix typo in metric name (bbd3d91)
  • metrics: Invert ratio for multiplier fields, and clarify their docs (1a7bc3a), closes #11
  • pool: Add SUSPENDED status (9b9e655)
  • security: Update dependencies for upstream vulnerabilities (2220da2)
  • tests: Remove unnecessary duration conversion (b6a29ab)
  • transform: Add support for ancient ZFS dedupratio metric (85bdc3b), closes #26
  • transform: Add support for ancient ZFS fragmentation metric (a0240d1), closes #26
  • fix copy and paste errors when accessing dataset properties (c0fc6b2)

Code Refactoring

  • collector: Migrate to internal ZFS CLI implementation (53b0e98), closes #7 #9 #10
  • core: Update prometheus toolchain and refactor internals (056b386)

Features

  • build: Update to Go 1.17 (b64115c)
  • enhancement: Allow excluding datasets by regular expression (8dd48ba), closes #3
  • metrics: Allow disabling exporter metrics (1ca8717), closes #2
  • performance: Execute collection concurrently per pool (ccc6f22)
  • server: Add exporter toolkit for TLS support (8102e2e), closes #34
  • zfs: Add local ZFS CLI parsing (f5050b1)

BREAKING CHANGES

  • collector: Ratio values are now properly calculated in the range
    0-1, rather than being passed verbatim.

The following metrics are affected by this change:

  • zfs_pool_deduplication_ratio
  • zfs_pool_capacity_ratio
  • zfs_pool_fragmentation_ratio
  • zfs_dataset_compression_ratio
  • zfs_dataset_referenced_compression_ratio

Additionally, the zfs_dataset_fragmentation_percent metric has been
renamed to zfs_dataset_fragmentation_ratio.

  • core: Go API has changed somewhat, but metrics remain
    unaffected.