metrics

package
v0.0.0-...-0e9db52 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package metrics implements everything related to metrics of the pkg/compliance module.

Index

Constants

View Source
const (
	// MetricInputsHits is the metric name for counting inputs resolution.
	MetricInputsHits = "datadog.security_agent.compliance.inputs.hits"

	// MetricInputsDuration is the metric name for evaluating inputs resolution duration.
	MetricInputsDuration = "datadog.security_agent.compliance.inputs.duration_ms"

	// MetricInputsSize is the metric name for counting the total evaluated input size going through the rego evaluation engine.
	MetricInputsSize = "datadog.security_agent.compliance.inputs.size"

	// MetricChecksStatuses is the metric name for checks statuses of our evaluated rules.
	MetricChecksStatuses = "datadog.security_agent.compliance.checks.statuses"
)

Variables

This section is empty.

Functions

func NewRegoTelemetry

func NewRegoTelemetry() opametrics.Metrics

NewRegoTelemetry returns a opa/metrics.Metrics interface to monitor rego's performance.

Types

This section is empty.

Jump to

Keyboard shortcuts

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