func sendRunningMetrics(statsdClient *ddgostatsd.Client, moduleName string) *time.Ticker {
	// Retrieve the agent version using a dedicated package
	tags := []string{fmt.Sprintf("version:%s", version.AgentVersion)}

	// Send the metric regularly
	heartbeat := time.NewTicker(15 * time.Second)
	go func() {
		for range heartbeat.C {
			statsdClient.Gauge(fmt.Sprintf("datadog.security_agent.%s.running", moduleName), 1, tags, 1) //nolint:errcheck
		}
	}()

	return heartbeat
}
// sendRunningMetrics exports a metric to distinguish between security-agent modules that are activated
sendRunningMetrics exports a metric to distinguish between security-agent modules that are activated
// sendRunningMetrics exports a metric to distinguish between security - agent modules that are activated
func sendRunningMetrics(statsdClient *ddgostatsd.Client, moduleName string) *time.Ticker {
	tags := []string{fmt.Sprintf("version:%s", version.AgentVersion)}
	heartbeat := time.NewTicker(15 * time.Second)
	go func() {
		for range heartbeat.C {
			statsdClient.Gauge(fmt.Sprintf("datadog.security_agent.%s.running", moduleName), 1, tags, 1) 
		}
	}()
	return heartbeat
}
func sendRunningMetrics ( statsdClient * ddgostatsd . Client , moduleName string ) * time . Ticker { tags := [ ] string { fmt . Sprintf ( " " , version . AgentVersion ) } heartbeat := time . NewTicker ( 15 * time . Second ) go func ( ) { for range heartbeat . C { statsdClient . Gauge ( fmt . Sprintf ( " " , moduleName ) , 1 , tags , 1 ) } } ( ) return heartbeat }
sendRunningMetrics exports a metric to distinguish between security-agent modules that are activated
sendRunningMetrics exports a metric to distinguish between security - agent modules that are activated
// Retrieve the agent version using a dedicated package // Send the metric regularly //nolint:errcheck