metrics

package
v1.11.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	TrueValue  = 1.0
	FalseValue = 0.0
)

Variables

View Source
var (
	// datadogagentprofile enabled
	DAPEnabled = prometheus.NewGauge(
		prometheus.GaugeOpts{
			Subsystem: datadogAgentProfileSubsystem,
			Name:      "enabled",
			Help:      "1 if DatadogAgentProfiles are enabled. 0 if DatadogAgentProfiles are disabled",
		},
	)

	// datadogagentprofile valid
	DAPValid = prometheus.NewGaugeVec(
		prometheus.GaugeOpts{
			Subsystem: datadogAgentProfileSubsystem,
			Name:      "valid",
			Help:      "1 if the DatadogAgentProfile is valid. 0 if the DatadogAgentProfile is invalid",
		},
		[]string{
			datadogAgentProfileLabelKey,
		},
	)
)
View Source
var (
	// introspection enabled
	IntrospectionEnabled = prometheus.NewGauge(
		prometheus.GaugeOpts{
			Subsystem: datadogAgentSubsystem,
			Name:      "introspection_enabled",
			Help:      "1 if introspection is enabled. 0 if introspection is disabled",
		},
	)
)
View Source
var (
	// maximum goroutines
	MaxGoroutines = prometheus.NewGauge(
		prometheus.GaugeOpts{
			Name: "max_goroutines",
			Help: "reports the maximum number of goroutines set in the datadog operator",
		},
	)
)

Functions

func CleanupMetricsByProfile

func CleanupMetricsByProfile(obj client.Object)

CleanupMetricsByProfile deletes profile-specific prometheus metrics given a profile

Types

This section is empty.

Jump to

Keyboard shortcuts

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