|
PACS System 0.1.0
PACS DICOM system library
|
Metrics for tracking DICOM association lifecycle. More...
#include <pacs_metrics.h>

Public Member Functions | |
| void | record_established () noexcept |
| Record an association being established. | |
| void | record_released () noexcept |
| Record an association being released normally. | |
| void | record_rejected () noexcept |
| Record an association being rejected. | |
| void | record_aborted () noexcept |
| Record an association being aborted. | |
| void | reset () noexcept |
| Reset all counters to zero. | |
Public Attributes | |
| std::atomic< std::uint64_t > | total_established {0} |
| std::atomic< std::uint64_t > | total_rejected {0} |
| std::atomic< std::uint64_t > | total_aborted {0} |
| std::atomic< std::uint32_t > | current_active {0} |
| std::atomic< std::uint32_t > | peak_active {0} |
Metrics for tracking DICOM association lifecycle.
Thread-safe counters for tracking association establishment, rejection, and current active count.
Definition at line 217 of file pacs_metrics.h.
|
inlinenoexcept |
Record an association being aborted.
Definition at line 251 of file pacs_metrics.h.
References current_active, and total_aborted.
Referenced by kcenon::pacs::monitoring::pacs_metrics::record_association_aborted().

|
inlinenoexcept |
Record an association being established.
Definition at line 225 of file pacs_metrics.h.
References current_active, peak_active, and total_established.
Referenced by kcenon::pacs::monitoring::pacs_metrics::record_association_established().

|
inlinenoexcept |
Record an association being rejected.
Definition at line 246 of file pacs_metrics.h.
References total_rejected.
Referenced by kcenon::pacs::monitoring::pacs_metrics::record_association_rejected().

|
inlinenoexcept |
Record an association being released normally.
Definition at line 238 of file pacs_metrics.h.
References current_active.
Referenced by kcenon::pacs::monitoring::pacs_metrics::record_association_released().

|
inlinenoexcept |
Reset all counters to zero.
Definition at line 260 of file pacs_metrics.h.
References current_active, peak_active, total_aborted, total_established, and total_rejected.
Referenced by kcenon::pacs::monitoring::pacs_metrics::reset().

| std::atomic<std::uint32_t> kcenon::pacs::monitoring::association_counters::current_active {0} |
Definition at line 221 of file pacs_metrics.h.
Referenced by record_aborted(), record_established(), record_released(), reset(), kcenon::pacs::monitoring::pacs_metrics::to_json(), and kcenon::pacs::monitoring::pacs_metrics::to_prometheus().
| std::atomic<std::uint32_t> kcenon::pacs::monitoring::association_counters::peak_active {0} |
Definition at line 222 of file pacs_metrics.h.
Referenced by record_established(), reset(), kcenon::pacs::monitoring::pacs_metrics::to_json(), and kcenon::pacs::monitoring::pacs_metrics::to_prometheus().
| std::atomic<std::uint64_t> kcenon::pacs::monitoring::association_counters::total_aborted {0} |
Definition at line 220 of file pacs_metrics.h.
Referenced by record_aborted(), reset(), kcenon::pacs::monitoring::pacs_metrics::to_json(), and kcenon::pacs::monitoring::pacs_metrics::to_prometheus().
| std::atomic<std::uint64_t> kcenon::pacs::monitoring::association_counters::total_established {0} |
Definition at line 218 of file pacs_metrics.h.
Referenced by record_established(), reset(), kcenon::pacs::monitoring::pacs_metrics::to_json(), and kcenon::pacs::monitoring::pacs_metrics::to_prometheus().
| std::atomic<std::uint64_t> kcenon::pacs::monitoring::association_counters::total_rejected {0} |
Definition at line 219 of file pacs_metrics.h.
Referenced by record_rejected(), reset(), kcenon::pacs::monitoring::pacs_metrics::to_json(), and kcenon::pacs::monitoring::pacs_metrics::to_prometheus().