Skip to content

Commit 62e2624

Browse files
committed
Appeasing CI
Signed-off-by: Danny Kopping <danny@coder.com>
1 parent 3e569ff commit 62e2624

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

cli/testdata/server-config.yaml.golden

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,11 @@ introspection:
191191
# Collect database metrics (may increase charges for metrics storage).
192192
# (default: false, type: bool)
193193
collect_db_metrics: false
194+
# When collecting agent stats, aggregate metrics by a given set of comma-separated
195+
# labels to reduce cardinality. Accepted values are template_name, agent_name,
196+
# username, workspace_name.
197+
# (default: <unset>, type: string-array)
198+
aggregate_agent_stats_by: []
194199
pprof:
195200
# Serve pprof metrics on the address defined by pprof address.
196201
# (default: <unset>, type: bool)

coderd/prometheusmetrics/aggregator_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,6 @@ func TestUpdateMetrics_MetricsExpire(t *testing.T) {
297297
}
298298

299299
func TestLabelsAggregation(t *testing.T) {
300-
t.Parallel()
301-
302300
type statCollection struct {
303301
labels prometheusmetrics.AgentMetricLabels
304302
metrics []*agentproto.Stats_Metric
@@ -561,6 +559,8 @@ func TestLabelsAggregation(t *testing.T) {
561559
}
562560

563561
for _, tc := range tests {
562+
t.Parallel()
563+
564564
t.Run(tc.name, func(t *testing.T) {
565565
// given
566566
registry := prometheus.NewRegistry()

0 commit comments

Comments
 (0)