Skip to content

Commit 60edab9

Browse files
committed
Update deployment config
Signed-off-by: Danny Kopping <danny@coder.com>
1 parent a2bd0b1 commit 60edab9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

codersdk/deployment.go

+4-3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import (
44
"context"
55
"encoding/json"
66
"flag"
7+
"fmt"
78
"net/http"
89
"os"
910
"path/filepath"
@@ -952,10 +953,10 @@ when required by your organization's security policy.`,
952953
YAML: "collect_agent_stats",
953954
},
954955
{
955-
Name: "TODO",
956-
Description: "TODO.",
956+
Name: "Prometheus Aggregate Agent Stats By",
957+
Description: fmt.Sprintf("When collecting agent stats, aggregate metrics by a given set of comma-separated labels to reduce cardinality. Accepted values are %q", AcceptedMetricAggregationLabels),
957958
Flag: "prometheus-aggregate-agent-stats-by",
958-
Env: "CODER_PROMETHEUS_AGGREGATE_BY_LABELS",
959+
Env: "CODER_PROMETHEUS_AGGREGATE_AGENT_STATS_BY",
959960
Value: clibase.Validate(&c.Prometheus.AggregateAgentStatsBy, func(value *clibase.StringArray) error {
960961
if value == nil {
961962
return nil

0 commit comments

Comments
 (0)