Documentation ¶
Index ¶
- func AddDiscoveredSelectorsSample(m telemetry.Metrics, count float32)
- func IncrConnectionCounter(m telemetry.Metrics)
- func IncrFetchJWTBundlesCounter(m telemetry.Metrics)
- func IncrUpdateJWTBundlesCounter(m telemetry.Metrics)
- func IncrValidJWTSVIDCounter(m telemetry.Metrics, id string, aud string)
- func IncrValidJWTSVIDErrCounter(m telemetry.Metrics)
- func MeasureFetchX509SVIDLatency(m telemetry.Metrics, t time.Time)
- func MeasureSendJWTBundleLatency(m telemetry.Metrics, t time.Time)
- func SetConnectionTotalGauge(m telemetry.Metrics, connections int32)
- func SetFetchJWTSVIDTTLGauge(m telemetry.Metrics, id string, val float32)
- func SetFetchX509SVIDTTLGauge(m telemetry.Metrics, id string, val float32)
- func StartAttestationCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartAttestorCall(m telemetry.Metrics, aType string) *telemetry.CallCounter
- func StartFetchJWTBundlesCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartFetchJWTSVIDCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartFetchX509SVIDCall(m telemetry.Metrics) *telemetry.CallCounter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDiscoveredSelectorsSample ¶
AddDiscoveredSelectorsSample count of discovered selectors during an agent Workload Attest call
func IncrConnectionCounter ¶
IncrConnectionCounter indicate Workload API connection (some connection is made, running total count)
func IncrFetchJWTBundlesCounter ¶
IncrFetchJWTBundlesCounter indicate call to Workload API, on fetching JWT bundles.
func IncrUpdateJWTBundlesCounter ¶
IncrUpdateJWTBundlesCounter indicate call to Workload API, on updating JWT bundles
func IncrValidJWTSVIDCounter ¶
IncrValidJWTSVIDCounter indicate call to Workload API, on validating JWT SVID. Takes SVID SPIFFE ID and request audience
func IncrValidJWTSVIDErrCounter ¶
IncrValidJWTSVIDErrCounter indicate call to Workload API, on error validating JWT SVID.
func MeasureFetchX509SVIDLatency ¶
MeasureFetchX509SVIDLatency emit metric on agent Workload API, latency of fetching X509SVID
func MeasureSendJWTBundleLatency ¶
MeasureSendJWTBundleLatency emit metric on agent Workload API, latency of sending JWT Bundle to workload
func SetConnectionTotalGauge ¶
SetConnectionTotalGauge sets the number of active Workload API connections
func SetFetchJWTSVIDTTLGauge ¶
SetFetchJWTSVIDTTLGauge set gauge for agent Workload API, TTL of fetching JWT SVID for a specific SPIFFE ID
func SetFetchX509SVIDTTLGauge ¶
SetFetchX509SVIDTTLGauge set gauge for agent Workload API, TTL of fetching X509 SVID for a specific SPIFFE ID
func StartAttestationCall ¶
func StartAttestationCall(m telemetry.Metrics) *telemetry.CallCounter
StartAttestationCall return metric for agent's Workload API Attestor for overall attestation
func StartAttestorCall ¶
func StartAttestorCall(m telemetry.Metrics, aType string) *telemetry.CallCounter
StartAttestorCall return metric for agent's Workload API Attestor for a specific attestor
func StartFetchJWTBundlesCall ¶
func StartFetchJWTBundlesCall(m telemetry.Metrics) *telemetry.CallCounter
StartFetchJWTBundlesCall return metric for agent's Workload API, on fetching the workload's JWT Bundles
func StartFetchJWTSVIDCall ¶
func StartFetchJWTSVIDCall(m telemetry.Metrics) *telemetry.CallCounter
StartFetchJWTSVIDCall return metric for agent's Workload API, on fetching the workload's JWT SVID
func StartFetchX509SVIDCall ¶
func StartFetchX509SVIDCall(m telemetry.Metrics) *telemetry.CallCounter
StartFetchX509SVIDCall return metric for agent's Workload API, on fetching the workload's X509 SVID
Types ¶
This section is empty.