From 57258ea636c7260f06ed667e68c5503f3de00388 Mon Sep 17 00:00:00 2001 From: gamoutatsumi Date: Tue, 10 Sep 2024 15:18:35 +0900 Subject: [PATCH] fix panic by metric lables --- pkg/metric/scrape_memory.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/metric/scrape_memory.go b/pkg/metric/scrape_memory.go index b3f19e9..8022d6b 100644 --- a/pkg/metric/scrape_memory.go +++ b/pkg/metric/scrape_memory.go @@ -36,7 +36,7 @@ var ( memoryStarterRecoveredRuns = prometheus.NewDesc( prometheus.BuildFQName(namespace, memoryName, "starter_recovered_runs"), "recovered runs in starter", - []string{"starter"}, nil, + []string{"starter", "target"}, nil, ) memoryGitHubRateLimitRemaining = prometheus.NewDesc( prometheus.BuildFQName(namespace, memoryName, "github_rate_limit_remaining"),