File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
orchestrator/internal/proxy Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ func (p *SandboxProxy) Shutdown(ctx context.Context) {
8383}
8484
8585func (p * SandboxProxy ) proxyHandler (transport * http.Transport ) func (w http.ResponseWriter , r * http.Request ) {
86- activeConnections , err := meters .GetUpDownCounter (meters .ActiveConnectionsCounterMeterName )
86+ activeConnections , err := meters .GetUpDownCounter (meters .OrchestratorProxyActiveConnectionsCounterMeterName )
8787 if err != nil {
8888 zap .L ().Error ("failed to create active connections counter" , zap .Error (err ))
8989 }
Original file line number Diff line number Diff line change @@ -16,12 +16,13 @@ const (
1616type UpDownCounterType string
1717
1818const (
19- SandboxCountMeterName UpDownCounterType = "api.env.instance.running"
20- BuildCounterMeterName = "api.env.build.running"
21- NewNetworkSlotSPoolCounterMeterName = "orchestrator.network.slots_pool.new"
22- ReusedNetworkSlotSPoolCounterMeterName = "orchestrator.network.slots_pool.reused"
23- NBDkSlotSReadyPoolCounterMeterName = "orchestrator.nbd.slots_pool.read"
24- ActiveConnectionsCounterMeterName = "client_proxy.connections.active"
19+ SandboxCountMeterName UpDownCounterType = "api.env.instance.running"
20+ BuildCounterMeterName = "api.env.build.running"
21+ NewNetworkSlotSPoolCounterMeterName = "orchestrator.network.slots_pool.new"
22+ ReusedNetworkSlotSPoolCounterMeterName = "orchestrator.network.slots_pool.reused"
23+ NBDkSlotSReadyPoolCounterMeterName = "orchestrator.nbd.slots_pool.read"
24+ ActiveConnectionsCounterMeterName = "client_proxy.connections.active"
25+ OrchestratorProxyActiveConnectionsCounterMeterName = "orchestrator.proxy.connections.active"
2526)
2627
2728var meter = otel .GetMeterProvider ().Meter ("nomad" )
You can’t perform that action at this time.
0 commit comments