agent

package
v1.11.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	CacheTypeWorkload  = "workload"
	CacheTypeSVIDStore = "svid_store"
)

Variables

This section is empty.

Functions

func AddCacheManagerExpiredSVIDsSample

func AddCacheManagerExpiredSVIDsSample(m telemetry.Metrics, cacheType string, count float32)

AddCacheManagerExpiredSVIDsSample count of expiring SVIDs according to agent cache manager

func AddCacheManagerOutdatedSVIDsSample added in v0.10.0

func AddCacheManagerOutdatedSVIDsSample(m telemetry.Metrics, cacheType string, count float32)

AddCacheManagerOutdatedSVIDsSample count of SVIDs with outdated attributes according to agent cache manager

func AddCacheManagerTaintedJWTSVIDsSample added in v1.11.0

func AddCacheManagerTaintedJWTSVIDsSample(m telemetry.Metrics, cacheType string, count float32)

AddCacheManagerTaintedJWTSVIDsSample count of tainted JWT-SVIDs according to agent cache manager

func AddCacheManagerTaintedX509SVIDsSample added in v1.11.0

func AddCacheManagerTaintedX509SVIDsSample(m telemetry.Metrics, cacheType string, count float32)

AddCacheManagerTaintedX509SVIDsSample count of tainted X509-SVIDs according to agent cache manager

func IncrSDSAPIConnectionCounter

func IncrSDSAPIConnectionCounter(m telemetry.Metrics)

IncrSDSAPIConnectionCounter indicate SDS API connection (some connection is made, running total count)

func IncrementEntriesAdded added in v1.7.2

func IncrementEntriesAdded(m telemetry.Metrics, entriesAdded int)

func IncrementEntriesRemoved added in v1.7.2

func IncrementEntriesRemoved(m telemetry.Metrics, entriesRemoved int)

func IncrementEntriesUpdated added in v1.7.2

func IncrementEntriesUpdated(m telemetry.Metrics, entriesUpdated int)

func SetEntriesMapSize added in v1.7.2

func SetEntriesMapSize(m telemetry.Metrics, recordMapSize int)

func SetSDSAPIConnectionTotalGauge

func SetSDSAPIConnectionTotalGauge(m telemetry.Metrics, connections int32)

SetSDSAPIConnectionTotalGauge sets the number of active SDS connections

func SetSVIDMapSize added in v1.7.2

func SetSVIDMapSize(m telemetry.Metrics, svidMapSize int)

func SetSyncStats added in v1.8.7

func SetSyncStats(m telemetry.Metrics, stats client.SyncStats)

func StartManagerFetchEntriesUpdatesCall added in v0.10.0

func StartManagerFetchEntriesUpdatesCall(m telemetry.Metrics) *telemetry.CallCounter

StartManagerFetchEntriesUpdatesCall returns metric for when agent's synchronization manager fetching latest entries information from server

func StartManagerFetchSVIDsUpdatesCall added in v0.10.0

func StartManagerFetchSVIDsUpdatesCall(m telemetry.Metrics) *telemetry.CallCounter

StartManagerFetchSVIDsUpdatesCall returns metric for when agent's synchronization manager fetching latest SVIDs information from server

func StartNodeAttestorNewSVIDCall

func StartNodeAttestorNewSVIDCall(m telemetry.Metrics) *telemetry.CallCounter

StartNodeAttestorNewSVIDCall return metric for agent node attestor call to get new SVID for the agent

func StartReattestAgentCall added in v1.4.2

func StartReattestAgentCall(m telemetry.Metrics) *telemetry.CallCounter

StartReattestAgentCall return metric for Agent's Reattestation.

func StartRotateAgentSVIDCall

func StartRotateAgentSVIDCall(m telemetry.Metrics) *telemetry.CallCounter

StartRotateAgentSVIDCall return metric for Agent's SVID Rotation.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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