From 9b16f7403d321ce0fa556222c598440232205a31 Mon Sep 17 00:00:00 2001 From: Microwavekonijn Date: Sat, 7 Oct 2023 10:31:19 +0200 Subject: [PATCH] fix: missing label prometheus --- .changeset/real-pumas-cough.md | 5 +++++ apps/stream-collector/src/census/modules/metric.module.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/real-pumas-cough.md diff --git a/.changeset/real-pumas-cough.md b/.changeset/real-pumas-cough.md new file mode 100644 index 0000000..04813a7 --- /dev/null +++ b/.changeset/real-pumas-cough.md @@ -0,0 +1,5 @@ +--- +'stream-collector': patch +--- + +Added missing label prometheus diff --git a/apps/stream-collector/src/census/modules/metric.module.ts b/apps/stream-collector/src/census/modules/metric.module.ts index 14a8341..c8e416f 100644 --- a/apps/stream-collector/src/census/modules/metric.module.ts +++ b/apps/stream-collector/src/census/modules/metric.module.ts @@ -48,7 +48,7 @@ import { makeCounterProvider({ name: essSubscriptionAlterationCount, help: 'Counter that tracks how many times a subscription to a connection has been altered', - labelNames: ['connection'], + labelNames: ['connection', 'key'], }), makeCounterProvider({ name: essSubscriptionMessageTimeoutCount,