Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit60edab9

Browse files
committed
Update deployment config
Signed-off-by: Danny Kopping <danny@coder.com>
1 parenta2bd0b1 commit60edab9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎codersdk/deployment.go

Lines changed: 4 additions & 3 deletions
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
ifvalue==nil {
961962
returnnil

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp