public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Christian Ebner <c.ebner@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [PATCH proxmox-backup 1/3] docs: describe s3 request notifications and threshold reset schedule
Date: Fri, 24 Apr 2026 14:50:24 +0200	[thread overview]
Message-ID: <20260424125027.804185-2-c.ebner@proxmox.com> (raw)
In-Reply-To: <20260424125027.804185-1-c.ebner@proxmox.com>

Add a section describing the counter, how they can be used to trigger
notifications and how to periodically reset them.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
---
 docs/notifications.rst | 47 ++++++++++++++++++++++++++++++++++++++++++
 docs/storage.rst       |  4 ++++
 2 files changed, 51 insertions(+)

diff --git a/docs/notifications.rst b/docs/notifications.rst
index 992ef152e..440c700a4 100644
--- a/docs/notifications.rst
+++ b/docs/notifications.rst
@@ -371,3 +371,50 @@ The template files follow the naming convention of
 ``gc-err-body.txt.hbs`` contains the template for rendering notifications for
 garbage collection errors, while ``package-updates-subject.txt.hbs`` is used to
 render the subject line of notifications for available package updates.
+
+.. _s3_notification_thresholds:
+
+Notification Thresholds and Reset Schedule (S3 Datastores Only)
+---------------------------------------------------------------
+
+Datastores of type S3 keep track of the number of requests being send to the
+corresponding S3 endpoint and the amount of data being send. Proxmox Backup
+Server allows to configure threshold for these request and traffic counters to
+send out notifications if one of the set threshold values is exceeded.
+
+The notification threshold value can be set individually by request method or
+traffic volume. Notifications will be send out only once per threshold when the
+threshold has been exceeded. A counter reset is required to bring it below the
+threshold again in order to get further notifications. Therefore, it is possible
+to define a threshold reset schedule so request and traffic counters get
+periodically reset.
+
+Per datastore notification thresholds and their reset schedule are configurable
+in the :ref:`Datastore Options <datastore_options>` for S3 backed datastores.
+
+The following counters thresholds are available for configuration:
+
+==================== ==========================================================
+Counter Threshold    Description and Usage
+==================== ==========================================================
+``s3-get``           Number of ``GET`` requests: Mainly used for download of
+                     data and metadata among the following operations: restore,
+                     verification, S3 refresh, garbage collection.
+``s3-put``           Number of ``PUT`` requests: Mainly used for upload of data
+                     and metadata among the following operations: backup, syncs,
+                     metadata changes, content moves.
+``s3-post``          Number of ``POST`` requests: Mainly used for modification
+                     of data and metadata among the following operations: bulk
+                     deletion during garbage collection, content moves.
+``s3-head``          Number of ``HEAD`` requests: Mainly used to check for
+                     access and existence among which the following operations:
+                     checking bucket access, fetching of metadata.
+``s3-delete``        Number of ``DELETE`` requests: Mainly used for deleting
+                     single objects by the following operations: garbage
+                     collection, content moves.
+``s3-upload``        Amount of bytes uploaded to the S3 endpoint, independent of
+                     request method.
+``s3-download``      Amount of bytes downloaded from the S3 endpoint,
+                     independent of request method.
+==================== ==========================================================
+
diff --git a/docs/storage.rst b/docs/storage.rst
index c24051941..e096d47e6 100644
--- a/docs/storage.rst
+++ b/docs/storage.rst
@@ -593,6 +593,7 @@ Required privileges:
 - ``move-namespace``: ``DATASTORE_MODIFY`` on the parent of both the
   source and the target namespace.
 
+.. _datastore_options:
 
 Options
 ~~~~~~~
@@ -606,6 +607,9 @@ There are a few per-datastore options:
 
 * :ref:`Notification mode and legacy notification settings <notification_mode>`
 * :ref:`Maintenance Mode <maintenance_mode>`
+* :ref:`Maintenance Mode <maintenance_mode>`
+* :ref:`Notification Thresholds (S3 datastores only) <s3_notification_thresholds>`
+* :ref:`Threshold Reset Schedule (S3 datastores only) <s3_notification_thresholds>`
 * Verification of incoming backups
 
 .. _datastore_tuning_options:
-- 
2.47.3





  reply	other threads:[~2026-04-24 12:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-24 12:50 [PATCH proxmox-backup 0/3] followups s3 datastores Christian Ebner
2026-04-24 12:50 ` Christian Ebner [this message]
2026-04-24 12:50 ` [PATCH proxmox-backup 2/3] docs: mention still missing field in the configuration subtree Christian Ebner
2026-04-24 12:50 ` [PATCH proxmox-backup 3/3] ui: drop 'tech preview' label for s3 stores in creation dialog Christian Ebner
2026-04-24 19:06 ` applied: [PATCH proxmox-backup 0/3] followups s3 datastores Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260424125027.804185-2-c.ebner@proxmox.com \
    --to=c.ebner@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal