workloadapi

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2022 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDiscoveredSelectorsSample

func AddDiscoveredSelectorsSample(m telemetry.Metrics, count float32)

AddDiscoveredSelectorsSample count of discovered selectors during an agent Workload Attest call

func IncrConnectionCounter

func IncrConnectionCounter(m telemetry.Metrics)

IncrConnectionCounter indicate Workload API connection (some connection is made, running total count)

func SetConnectionTotalGauge

func SetConnectionTotalGauge(m telemetry.Metrics, connections int32)

SetConnectionTotalGauge sets the number of active Workload API connections

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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