From 5bea571be1f81c5aa7d6ce7491e52b4f341d1f2f Mon Sep 17 00:00:00 2001
From: Sergiusz Urbaniak <sergiusz.urbaniak@gmail.com>
Date: Thu, 29 Aug 2019 17:33:26 +0200
Subject: [PATCH] jsonnet/prometheus-adapter: fix resource override for raw
 node query

---
 .../prometheus-adapter/prometheus-adapter.libsonnet             | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jsonnet/kube-prometheus/prometheus-adapter/prometheus-adapter.libsonnet b/jsonnet/kube-prometheus/prometheus-adapter/prometheus-adapter.libsonnet
index 0069acb5..428a3c3d 100644
--- a/jsonnet/kube-prometheus/prometheus-adapter/prometheus-adapter.libsonnet
+++ b/jsonnet/kube-prometheus/prometheus-adapter/prometheus-adapter.libsonnet
@@ -35,7 +35,7 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
             nodeQuery: sum(node_memory_MemTotal_bytes{job="node-exporter",<<.LabelMatchers>>} - node_memory_MemAvailable_bytes{job="node-exporter",<<.LabelMatchers>>}) by (<<.GroupBy>>)
             resources:
               overrides:
-                node:
+                instance:
                   resource: node
                 namespace:
                   resource: namespace
-- 
GitLab