Skip to content

Releases: treydock/tsm_exporter

2.2.0 / 2026-06-16

16 Jun 12:09
e221ca8

Choose a tag to compare

  • Add process collector (#54)
  • Update to Go 1.26 (#55)
  • Update Go dependencies and switch to slog (#56)

2.1.0 / 2023-05-17

17 May 15:53

Choose a tag to compare

Changes

  • Add metrics to volumes collector (#48)
    • tsm_volume_storage_pool_info
    • tsm_volume_status_info
    • tsm_volume_times_mounted
    • tsm_volume_write_pass

2.0.0 / 2023-05-07

07 May 13:24

Choose a tag to compare

Changes

  • Update to Go 1.20 and update Go module dependencies (#47)
  • Improvements to summary collector (#46)
    • Add metric tsm_tape_mount_start_timestamp_seconds
    • Add metric tsm_tape_mount_end_timestamp_seconds
    • Add metric tsm_summary_start_timestamp_seconds
  • Replication refactor (#45)
    • Add metric tsm_replication_incomplete_start_timestamp_seconds
    • Add metric tsm_replication_incomplete_replicated_files
    • Remove metric tsm_replication_not_completed

2.0.0-rc.0 / 2022-07-28

28 Jul 18:38

Choose a tag to compare

Pre-release

Changes

  • Replication refactor (#45)
    • Add metric tsm_replication_incomplete_start_timestamp_seconds
    • Add metric tsm_replication_incomplete_replicated_files
    • Remove metric tsm_replication_not_completed

1.2.2 / 2022-03-30

30 Mar 19:55

Choose a tag to compare

Changes

  • Do not error if LAST_BACKUP_DATE is empty (#44)

1.2.1 / 2022-03-08

08 Mar 17:56

Choose a tag to compare

Changes

  • Avoid duplicates with volumeusage query (#41)

1.2.0 / 2022-03-08

08 Mar 17:03

Choose a tag to compare

Changes

  • Update Go to 1.17
  • Update Go module dependencies

1.1.0 / 2021-04-23

23 Apr 17:57

Choose a tag to compare

Changes

  • Update to Go 1.16
  • Update Go module dependencies

1.0.0 / 2021-04-23

23 Apr 17:23

Choose a tag to compare

Breaking Changes

  • Remove --exporter.use-cache flag and all caching logic
  • For drive metrics, replace name label with drive
  • For storage_pool metrics, replace name label with storagepool
  • For volume metrics, replace name label with volume
  • Improve events collector to not require saving any data in memory, remove --collector.events.duration-cache flag
  • Improve replicationview collector to not store any data in memory, remove --collector.replicationview.metric-cache flag
  • Remove tsm_libvolume_scratch metric, use sum(tsm_libvolume_media{status="scratch"}) instead
  • Make percent metrics into ratios
    • Rename tsm_storage_pool_utilized_percent to tsm_storage_pool_utilized_ratio
    • Rename tsm_volume_utilized_percent to tsm_volume_utilized_ratio
  • Remove reason and servername label from tsm_status
  • Make tsm_db_buffer_hit_ratio and tsm_db_pkg_hit_ratio a ratio between 0.0-1.0
  • Rename tsm_db_buffer_total_requests to tsm_db_buffer_requests_total
  • Rename tsm_db_last_backup_time to tsm_db_last_backup_timestamp_seconds
  • Rename tsm_replication_end_time to tsm_replication_end_timestamp_seconds
  • Rename tsm_replication_start_time to tsm_replication_start_timestamp_seconds

Changes

  • Add Docker container
  • Fix libvolume query
  • Add library label to tsm_libvolume_media metric
  • Fix parsing to handle cases where TSM queries return decimal numbers with a comma instead of a period
  • Use CSV parser when parsing TSM data from queries
  • Improved error handling, return error metric if any parsing has errors
  • If numeric columns in queries are empty, do not produce errors or metrics for that missing column
  • Produce a metric for each possible drive state with tsm_drive_state_info
  • Improved logging when parse errors are encountered
  • Ensure tsm_libvolume_media{status="private"} and tsm_libvolume_media{status="scratch"} are always present for each mediatype/library combination
  • Add tsm_occupancy_reporting_bytes metric
  • Add metrics for stgpools collector
    • tsm_storage_pool_cloud_total_bytes
    • tsm_storage_pool_cloud_used_bytes
    • tsm_storage_pool_estimated_capacity_bytes
    • tsm_storage_pool_local_estimated_capacity_bytes
    • tsm_storage_pool_local_logical_ratio
    • tsm_storage_pool_local_utilized_ratio
    • tsm_storage_pool_logical_ratio
  • Add summary collector
  • Fix time parsing to be timezone aware, add options to adjust timezone
  • Add metrics to events collector
    • tsm_schedule_start_timestamp_seconds
    • tsm_schedule_completed_timestamp_seconds

1.0.0-rc.7 / 2020-12-07

07 Dec 17:38

Choose a tag to compare

Pre-release

Breaking Changes

  • Remove --exporter.use-cache flag and all caching logic
  • For drive metrics, replace name label with drive
  • For storage_pool metrics, replace name label with storagepool
  • For volume metrics, replace name label with volume
  • Improve events collector to not require saving any data in memory, remove --collector.events.duration-cache flag
  • Improve replicationview collector to not store any data in memory, remove --collector.replicationview.metric-cache flag
  • Remove tsm_libvolume_scratch metric, use sum(tsm_libvolume_media{status="scratch"}) instead
  • Make percent metrics into ratios
    • Rename tsm_storage_pool_utilized_percent to tsm_storage_pool_utilized_ratio
    • Rename tsm_volume_utilized_percent to tsm_volume_utilized_ratio
  • Remove reason and servername label from tsm_status
  • Make tsm_db_buffer_hit_ratio and tsm_db_pkg_hit_ratio a ratio between 0.0-1.0
  • Rename tsm_db_buffer_total_requests to tsm_db_buffer_requests_total
  • Rename tsm_db_last_backup_time to tsm_db_last_backup_timestamp_seconds
  • Rename tsm_replication_end_time to tsm_replication_end_timestamp_seconds
  • Rename tsm_replication_start_time to tsm_replication_start_timestamp_seconds

Changes

  • Add Docker container
  • Fix libvolume query
  • Add library label to tsm_libvolume_media metric
  • Fix parsing to handle cases where TSM queries return decimal numbers with a comma instead of a period
  • Use CSV parser when parsing TSM data from queries
  • Improved error handling, return error metric if any parsing has errors
  • If numeric columns in queries are empty, do not produce errors or metrics for that missing column
  • Produce a metric for each possible drive state with tsm_drive_state_info
  • Improved logging when parse errors are encountered
  • Ensure tsm_libvolume_media{status="private"} and tsm_libvolume_media{status="scratch"} are always present for each mediatype/library combination
  • Add tsm_occupancy_reporting_bytes metric
  • Add metrics for stgpools collector
    • tsm_storage_pool_cloud_total_bytes
    • tsm_storage_pool_cloud_used_bytes
    • tsm_storage_pool_estimated_capacity_bytes
    • tsm_storage_pool_local_estimated_capacity_bytes
    • tsm_storage_pool_local_logical_ratio
    • tsm_storage_pool_local_utilized_ratio
    • tsm_storage_pool_logical_ratio
  • Add summary collector
  • Fix time parsing to be timezone aware, add options to adjust timezone
  • Add metrics to events collector
    • tsm_schedule_start_timestamp_seconds
    • tsm_schedule_completed_timestamp_seconds