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 ¶
CleanupMetricsByProfile deletes profile-specific prometheus metrics given a profile
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.