metrics

package
v0.0.0-...-b180f38 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DetailedStorageMetrics

type DetailedStorageMetrics struct {
	*StorageMetrics
	CacheSize           *prometheus.GaugeVec
	StorageLatency      *prometheus.HistogramVec
	ConsensusLatency    *prometheus.HistogramVec
	EncryptionDuration  *prometheus.HistogramVec
	BlockchainBlockSize *prometheus.GaugeVec
	QueueLength         *prometheus.GaugeVec
	BackupStatus        *prometheus.GaugeVec
}

func NewDetailedStorageMetrics

func NewDetailedStorageMetrics(namespace string) *DetailedStorageMetrics

type QuantumStorageMetrics

type QuantumStorageMetrics struct {
	// Key Operations
	KeyGenerations        *prometheus.CounterVec
	KeyRotations          *prometheus.CounterVec
	KeyDeletions          *prometheus.CounterVec
	QuantumKeyGenerations *prometheus.CounterVec

	// Operation Durations
	EncryptionDuration   *prometheus.HistogramVec
	DecryptionDuration   *prometheus.HistogramVec
	SigningDuration      *prometheus.HistogramVec
	VerificationDuration *prometheus.HistogramVec
	KeyRotationDuration  *prometheus.HistogramVec
	BackupDuration       *prometheus.HistogramVec
	RecoveryDuration     *prometheus.HistogramVec

	// Status Metrics
	KeyRotationStatus *prometheus.GaugeVec
	KeyHealthStatus   *prometheus.GaugeVec
	QuantumReadiness  *prometheus.GaugeVec

	// Usage Metrics
	KeyUsageCount     *prometheus.CounterVec
	KeyAccessPatterns *prometheus.CounterVec
	OperationErrors   *prometheus.CounterVec

	// Compliance Metrics
	ComplianceStatus *prometheus.GaugeVec
	AuditEventCount  *prometheus.CounterVec
	PolicyViolations *prometheus.CounterVec

	// Distribution Metrics
	DistributionCount    *prometheus.CounterVec
	DistributionDuration *prometheus.HistogramVec
	DistributionErrors   *prometheus.CounterVec

	// Quantum Metrics
	QuantumCircuitDepth *prometheus.HistogramVec
	QuantumGateCount    *prometheus.CounterVec
	QuantumErrorRates   *prometheus.GaugeVec
}

func NewQuantumStorageMetrics

func NewQuantumStorageMetrics(registry prometheus.Registerer) *QuantumStorageMetrics

type StorageMetrics

type StorageMetrics struct {
	OperationDuration *prometheus.HistogramVec
	OperationErrors   *prometheus.CounterVec
	CacheHitRate      *prometheus.GaugeVec
	StorageUsage      *prometheus.GaugeVec
	HealthStatus      *prometheus.GaugeVec
}

func NewStorageMetrics

func NewStorageMetrics(namespace string) *StorageMetrics

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL