diff --git a/pkg/db/seeds/appcat_vshn.promql.tmpl b/pkg/db/seeds/appcat_vshn.promql.tmpl index 160535d..a3b7e82 100644 --- a/pkg/db/seeds/appcat_vshn.promql.tmpl +++ b/pkg/db/seeds/appcat_vshn.promql.tmpl @@ -18,7 +18,7 @@ sum_over_time( # Copy label appuio.io/organization to label tenant_id label_replace( # Fetch all namespaces with label appcat.vshn.io/billing-name="{{.ServiceName}}" - kube_namespace_labels{label_appuio_io_organization=~".+", label_appcat_vshn_io_billing_name="{{.ServiceName}}"}, + kube_namespace_labels{label_appuio_io_organization=~".+", label_appcat_vshn_io_billing_name="{{.ServiceName}}"} * on (namespace) group_right(label_appuio_io_organization,label_appcat_vshn_io_claim_namespace,label_appcat_vshn_io_sla,product,provider,architecture, category, claim_namespace, tenant_id) kube_pod_info{created_by_kind!="Job"}, "tenant_id", "$1", "label_appuio_io_organization",