File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -188,14 +188,14 @@ introspection:
188
188
# Collect agent stats (may increase charges for metrics storage).
189
189
# (default: <unset>, type: bool)
190
190
collect_agent_stats: false
191
- # Collect database metrics (may increase charges for metrics storage).
192
- # (default: false, type: bool)
193
- collect_db_metrics: false
194
191
# When collecting agent stats, aggregate metrics by a given set of comma-separated
195
192
# labels to reduce cardinality. Accepted values are template_name, agent_name,
196
193
# username, workspace_name.
197
194
# (default: <unset>, type: string-array)
198
195
aggregate_agent_stats_by: []
196
+ # Collect database metrics (may increase charges for metrics storage).
197
+ # (default: false, type: bool)
198
+ collect_db_metrics: false
199
199
pprof:
200
200
# Serve pprof metrics on the address defined by pprof address.
201
201
# (default: <unset>, type: bool)
Original file line number Diff line number Diff line change @@ -297,6 +297,8 @@ func TestUpdateMetrics_MetricsExpire(t *testing.T) {
297
297
}
298
298
299
299
func TestLabelsAggregation (t * testing.T ) {
300
+ t .Parallel ()
301
+
300
302
type statCollection struct {
301
303
labels prometheusmetrics.AgentMetricLabels
302
304
metrics []* agentproto.Stats_Metric
@@ -559,8 +561,6 @@ func TestLabelsAggregation(t *testing.T) {
559
561
}
560
562
561
563
for _ , tc := range tests {
562
- t .Parallel ()
563
-
564
564
t .Run (tc .name , func (t * testing.T ) {
565
565
// given
566
566
registry := prometheus .NewRegistry ()
You can’t perform that action at this time.
0 commit comments