Documentation ¶
Index ¶
- type Metrics
- func (m *Metrics) AWSSecretLockDecryptTime(value time.Duration)
- func (m *Metrics) AWSSecretLockEncryptTime(value time.Duration)
- func (m *Metrics) CryptoSignTime(value time.Duration)
- func (m *Metrics) DBBatchTime(dbType string, value time.Duration)
- func (m *Metrics) DBDeleteTime(dbType string, value time.Duration)
- func (m *Metrics) DBGetBulkTime(dbType string, value time.Duration)
- func (m *Metrics) DBGetTagsTime(dbType string, value time.Duration)
- func (m *Metrics) DBGetTime(dbType string, value time.Duration)
- func (m *Metrics) DBPutTime(dbType string, value time.Duration)
- func (m *Metrics) DBQueryTime(dbType string, value time.Duration)
- func (m *Metrics) KeySecretLockDecryptTime(value time.Duration)
- func (m *Metrics) KeySecretLockEncryptTime(value time.Duration)
- func (m *Metrics) KeyStoreGetKeyTime(value time.Duration)
- func (m *Metrics) KeyStoreResolveTime(value time.Duration)
- func (m *Metrics) ZCAPLDCapabilityResolveTime(value time.Duration)
- func (m *Metrics) ZCAPLDLoadDocumentTime(value time.Duration)
- func (m *Metrics) ZCAPLDTime(value time.Duration)
- func (m *Metrics) ZCAPLDVDRResolveTime(value time.Duration)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metrics ¶
type Metrics struct {
// contains filtered or unexported fields
}
Metrics manages the metrics for KMS.
func (*Metrics) AWSSecretLockDecryptTime ¶
AWSSecretLockDecryptTime records the time it takes to decrypt key from a key store.
func (*Metrics) AWSSecretLockEncryptTime ¶
AWSSecretLockEncryptTime records the time it takes to encrypt key from a key store.
func (*Metrics) CryptoSignTime ¶
CryptoSignTime records the time it takes make sign ops.
func (*Metrics) DBBatchTime ¶
DBBatchTime records the time it takes to batch in db.
func (*Metrics) DBDeleteTime ¶
DBDeleteTime records the time it takes to delete in db.
func (*Metrics) DBGetBulkTime ¶
DBGetBulkTime records the time it takes to get bulk in db.
func (*Metrics) DBGetTagsTime ¶
DBGetTagsTime records the time it takes to get tags in db.
func (*Metrics) DBQueryTime ¶
DBQueryTime records the time it takes to query in db.
func (*Metrics) KeySecretLockDecryptTime ¶
KeySecretLockDecryptTime records the time it takes to decrypt key from a key store.
func (*Metrics) KeySecretLockEncryptTime ¶
KeySecretLockEncryptTime records the time it takes to encrypt key from a key store.
func (*Metrics) KeyStoreGetKeyTime ¶
KeyStoreGetKeyTime records the time it takes to get key from a key store.
func (*Metrics) KeyStoreResolveTime ¶
KeyStoreResolveTime records the time it takes to resolve a key store.
func (*Metrics) ZCAPLDCapabilityResolveTime ¶
ZCAPLDCapabilityResolveTime records the time it takes to resolve zcapld capability.
func (*Metrics) ZCAPLDLoadDocumentTime ¶
ZCAPLDLoadDocumentTime records the time it takes to load zcapld document.
func (*Metrics) ZCAPLDTime ¶
ZCAPLDTime records the time it takes to run zcapld middleware.
func (*Metrics) ZCAPLDVDRResolveTime ¶
ZCAPLDVDRResolveTime records the time it takes to resolve zcapld vdr.