status

package
v0.0.0-...-3982cbd Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitExpvars

func InitExpvars(_ pkgconfigmodel.Reader, hostname string, processModuleEnabled, languageDetectionEnabled bool, eps []apicfg.Endpoint)

InitExpvars initializes expvars

func UpdateDockerSocket

func UpdateDockerSocket(path string)

func UpdateDropCheckPayloads

func UpdateDropCheckPayloads(drops []string)

func UpdateEnabledChecks

func UpdateEnabledChecks(enabledChecks []string)

func UpdateLastCollectTime

func UpdateLastCollectTime(t time.Time)

func UpdateProcContainerCount

func UpdateProcContainerCount(msgs []model.MessageBody)

func UpdateQueueStats

func UpdateQueueStats(stats *QueueStats)

func UpdateWlmExtractorStats

func UpdateWlmExtractorStats(stats WlmExtractorStats)

UpdateWlmExtractorStats updates the expvar stats for the WorkloadMetaExtractor

Types

type QueueStats

type QueueStats struct {
	ProcessQueueSize      int
	RtProcessQueueSize    int
	ConnectionsQueueSize  int
	EventQueueSize        int
	PodQueueSize          int
	ProcessQueueBytes     int64
	RtProcessQueueBytes   int64
	ConnectionsQueueBytes int64
	EventQueueBytes       int64
	PodQueueBytes         int64
}

type WlmExtractorStats

type WlmExtractorStats struct {
	CacheSize    int
	StaleDiffs   int64
	DiffsDropped int64
}

WlmExtractorStats are stats from the WorkloadMetaExtractor

Jump to

Keyboard shortcuts

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