package
3.0.0+incompatible
Repository: https://github.com/percona/pmm.git
Documentation: pkg.go.dev

# Functions

ValidateAdvisorRunInterval validates an Advisor run interval.
ValidateAlertingRules validates alerting rules (https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/) by storing them in temporary file and calling `vmalert -dryRun -rule`.
ValidateAWSPartitions validates AWS partitions list.
ValidateDataRetention validate metric resolution.
ValidateMetricResolution validate metric resolution.

# Constants

nolint:revive.
AdvisorRunIntervalMultipleOf is value Advisors run intervals should be multiple of.
nolint:revive.
DataRetentionMultipleOf is a value of data retention should be multiple of.
nolint:revive.
MetricsResolutionMultipleOf is value metrics resolution should be multiple of.

# Structs

DurationNotAllowedError duration not allowed error.
InvalidAlertingRuleError represents "normal" alerting rule validation error.
MinDurationError minimum allowed duration error.