Skip to content

Updates for release 4.0.17 #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 34 additions & 3 deletions content/concepts/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,41 @@ To scrape data in Prometheus, each node must be accessible by port `10443`.

DirectPV node server exports the following metrics:

- directpv_stats_bytes_used
- directpv_stats_bytes_total
- `directpv_stats_bytes_used`

These metrics are categorized by labels ['tenant', 'volumeID', 'node'] and represent the volume stats of the published volumes.
Total number of bytes used by the volume

- `directpv_stats_bytes_total`

Total number of bytes allocated to the volume

The following additional metrics are available in release 4.0.17 or later.

- `directpv_stats_drive_ready`

Provides the drive status, either online or offline

- `directpv_stats_drive_total_read_bytes`

Total number of bytes read from the drive

- `directpv_stats_drive_total_write_bytes`

Total number of bytes written to the drive

- `directpv_stats_drive_read_latency_seconds`

Drive read latency, in seconds

- `directpv_stats_drive_write_latency_seconds`

Drive write latency, in seconds

- `directpv_stats_drive_wait_time_seconds`

Drive Wait Time, in seconds

These metrics are categorized by labels [`drive`, `tenant`, `volumeID`, `node`] and represent the volume stats of the published volumes.

## Configuration

Expand Down
11 changes: 11 additions & 0 deletions content/installation/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ DirectPV continues to support `PodSecurityPolicy` in the 4.0.x versions.
DirectPV 4.1.x and later removed support for `PodSecurityPolicy`.
{{< /admonition >}}

## Version support

Version **4.1.x** is the latest lineage of open source DirectPV CSI Driver.
Most users should install or upgrade to the latest release in this lineage.
However, if you require continued use of the deprecated `PodSecurityPolicy` feature, be sure to follow the upgrade guide carefully.

Version **4.0.x** lineage entered maintenance mode on January 1, 2025.
There is no future development of this lineage expected, though it may continue to receive bug fix and security releases from time to time.

Versions older than 4.0.0 are no longer supported.

Comment on lines +24 to +32
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ... have never encountered the term "lineage" to refer to this kind of version association, and it does not seem common. (I couldn't find it anywhere else in our docs, either ...) So ... suggestion, happy to discuss further. I don't think we need any equivalent, though -- this isn't an uncommon thing with release versions ime ...

Suggested change
Version **4.1.x** is the latest lineage of open source DirectPV CSI Driver.
Most users should install or upgrade to the latest release in this lineage.
However, if you require continued use of the deprecated `PodSecurityPolicy` feature, be sure to follow the upgrade guide carefully.
Version **4.0.x** lineage entered maintenance mode on January 1, 2025.
There is no future development of this lineage expected, though it may continue to receive bug fix and security releases from time to time.
Versions older than 4.0.0 are no longer supported.
Version **4.1.x** is the most recent version of the open source DirectPV CSI Driver.
Most users should install or upgrade to the latest release in this lineage.
However, if you require continued use of the deprecated `PodSecurityPolicy` feature, be sure to follow the upgrade guide carefully.
Version **4.0.x** entered maintenance mode on January 1, 2025.
No future development of this version is expected. It may continue to receive bug fix and security releases from time to time.
Versions older than 4.0.0 are no longer supported.

## Upgrade DirectPV CSI Driver from 4.x.x to latest

### Offline upgrade
Expand Down