Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 440657c

Browse files
committed
WIP
1 parent 9ad09b2 commit 440657c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

coderd/prometheusmetrics/prometheusmetrics.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,8 @@ func Agents(ctx context.Context, registerer prometheus.Registerer, db database.S
190190
connectionStatus := agent.Status(6 * time.Second)
191191

192192
// FIXME AgentInactiveDisconnectTimeout
193+
// ? connection_timeout_seconds
194+
// obok latency lifecycle_state
193195
log.Println("with value " + agent.Name)
194196
agentsConnectionGauge.WithLabelValues(agent.Name, workspace.Name, string(connectionStatus.Status)).Set(1)
195197

@@ -225,6 +227,7 @@ func Agents(ctx context.Context, registerer prometheus.Registerer, db database.S
225227

226228
// FIXME publish agent even if DERP is missing
227229
// FIXME IDE?
230+
// FIXME agent connection zero
228231
}
229232
}
230233
}

0 commit comments

Comments
 (0)