google / gke-policy-automation

Tool and policy library for reviewing Google Kubernetes Engine clusters against best practices
Apache License 2.0
512 stars 26 forks source link

Support for vector metrics + more wildcards in the queries #176

Closed mikouaj closed 1 year ago

mikouaj commented 1 year ago

The change adds support for multidimensional vector metrics, for example: sum by (exported_namespace,node) (kube_pod_info)

Results of the query will be available for Rego rules:

input.data.monitoring.pods_per_node.vector[namespace][node]