Metrics
Below are the list of metrics provided by Gatekeeper:
Constraint
Name:
gatekeeper_constraintsDescription:
Current number of known constraintsTags:
enforcement_action: [deny,dryrun,warn]status: [active,error]Aggregation:
LastValue
Constraint Template
Name:
gatekeeper_constraint_templatesDescription:
Number of observed constraint templatesTags:
status: [active,error]Aggregation:
LastValue
Name:
gatekeeper_constraint_template_ingestion_countDescription:
Total number of constraint template ingestion actionsTags:
status: [active,error]Aggregation:
Count
Name:
gatekeeper_constraint_template_ingestion_duration_secondsDescription:
Distribution of how long it took to ingest a constraint template in secondsTags:
status: [active,error]Aggregation:
Distribution
Expansion Template
Name:
gatekeeper_expansion_templatesDescription:
Number of observed expansion templatesAggregation:
LastValue
Webhook
Name:
gatekeeper_validation_request_countDescription:
The number of requests that are routed to validation webhookTags:
admission_status: [allow,deny]admission_dryrun: [true,false]Aggregation:
Count
Name:
gatekeeper_validation_request_duration_secondsDescription:
The validation webhook response time in secondsTags:
admission_status: [allow,deny]Aggregation:
Distribution
Name:
gatekeeper_mutation_request_countDescription:
The number of requests that are routed to mutation webhookTags:
admission_status: [allow,deny]Aggregation:
Count
Name:
gatekeeper_mutation_request_duration_secondsDescription:
The mutation webhook response time in secondsTags:
admission_status: [allow,deny]Aggregation:
Distribution
Audit
Name:
gatekeeper_violationsDescription:
Total number of audited violationsTags:
enforcement_action: [deny,dryrun,warn]Aggregation:
LastValue
Name:
gatekeeper_audit_duration_secondsDescription:
Latency of audit operation in secondsAggregation:
DistributionName:
gatekeeper_audit_last_run_timeDescription:
Timestamp of last audit run starting timeAggregation:
LastValueName:
gatekeeper_audit_last_run_end_timeDescription:
Timestamp of last audit run ending timeAggregation:
LastValue
Mutation
Name:
gatekeeper_mutator_ingestion_countDescription:
Total number of Mutator ingestion actionsTags:
status: [active,error]Aggregation:
Count
Name:
gatekeeper_mutator_ingestion_duration_secondsDescription:
The distribution of Mutator ingestion durationsTags:
status: [active,error]Aggregation:
Distribution
Name:
gatekeeper_mutatorsDescription:
The current number of Mutator objectsTags:
status: [active,error]Aggregation:
Count
Name:
gatekeeper_mutator_conflicting_countDescription:
The current number of conflicting Mutator objectsTags:
status: [active,error]Aggregation:
Count
Sync
Name:
gatekeeper_syncDescription:
Total number of resources of each kind being cachedTags:
status: [active,error]kind(examples,pod,namespace, ...)Aggregation:
LastValue
Name:
gatekeeper_sync_duration_secondsDescription:
Latency of sync operation in secondsAggregation:
DistributionName:
gatekeeper_sync_last_run_timeDescription:
Timestamp of last sync operationAggregation:
LastValue
Watch
Name:
gatekeeper_watch_manager_watched_gvkDescription:
Total number of watched GroupVersionKindsAggregation:
LastValueName:
gatekeeper_watch_manager_intended_watch_gvkDescription:
Total number of GroupVersionKinds with a registered watch intentAggregation:
LastValue