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.
Click to show internal directories.
Click to hide internal directories.