File tree 2 files changed +8
-7
lines changed
orchestrator/internal/proxy
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) {
83
83
}
84
84
85
85
func (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 )
87
87
if err != nil {
88
88
zap .L ().Error ("failed to create active connections counter" , zap .Error (err ))
89
89
}
Original file line number Diff line number Diff line change @@ -16,12 +16,13 @@ const (
16
16
type UpDownCounterType string
17
17
18
18
const (
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"
25
26
)
26
27
27
28
var meter = otel .GetMeterProvider ().Meter ("nomad" )
You can’t perform that action at this time.
0 commit comments