Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Appeasing CI, again...
Signed-off-by: Danny Kopping <danny@coder.com>
  • Loading branch information
dannykopping committed Mar 11, 2024
commit 7d3ded4fd2e5d6f97333895bb42ba941a7dfd8cb
6 changes: 3 additions & 3 deletions cli/testdata/server-config.yaml.golden
Original file line number Diff line number Diff line change
Expand Up @@ -188,14 +188,14 @@ introspection:
# Collect agent stats (may increase charges for metrics storage).
# (default: <unset>, type: bool)
collect_agent_stats: false
# Collect database metrics (may increase charges for metrics storage).
# (default: false, type: bool)
collect_db_metrics: false
# When collecting agent stats, aggregate metrics by a given set of comma-separated
# labels to reduce cardinality. Accepted values are template_name, agent_name,
# username, workspace_name.
# (default: <unset>, type: string-array)
aggregate_agent_stats_by: []
# Collect database metrics (may increase charges for metrics storage).
# (default: false, type: bool)
collect_db_metrics: false
pprof:
# Serve pprof metrics on the address defined by pprof address.
# (default: <unset>, type: bool)
Expand Down
4 changes: 2 additions & 2 deletions coderd/prometheusmetrics/aggregator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,8 @@ func TestUpdateMetrics_MetricsExpire(t *testing.T) {
}

func TestLabelsAggregation(t *testing.T) {
t.Parallel()

type statCollection struct {
labels prometheusmetrics.AgentMetricLabels
metrics []*agentproto.Stats_Metric
Expand Down Expand Up @@ -559,8 +561,6 @@ func TestLabelsAggregation(t *testing.T) {
}

for _, tc := range tests {
t.Parallel()

t.Run(tc.name, func(t *testing.T) {
// given
registry := prometheus.NewRegistry()
Expand Down