Skip to content
7 changes: 7 additions & 0 deletions backend/external/internal/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ func Run(logger *zap.Logger) {
[]string{},
)

prometheus.MustRegister(synccontrollerOutputTotal)
prometheus.MustRegister(httpInputKVTotal)
prometheus.MustRegister(httpOutputTotal)
prometheus.MustRegister(grpcHandlerInputTotal)

go func() {
for c := range synccontrollerOutput {
synccontrollerOutputTotal.With(prometheus.Labels{}).Inc()
Expand Down Expand Up @@ -145,6 +150,8 @@ func Run(logger *zap.Logger) {
},
[]string{},
)
prometheus.MustRegister(grpcBlockHandlerOutputTotal)
prometheus.MustRegister(blocksyncOutputTotal)

go func() {
for c := range grpcBlockHandlerOutput {
Expand Down
2 changes: 1 addition & 1 deletion manifests/manifests/auto-operation/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: soft-backend-auto-operation
image: ghcr.io/ueckoken/plarail2022-auto-operation:99f21a6-1668771879 # {"$imagepolicy": "plarail2021:auto-operation"}
image: ghcr.io/ueckoken/plarail2022-auto-operation:6aa5ebb-1668772583 # {"$imagepolicy": "plarail2021:auto-operation"}
imagePullPolicy: Always
ports:
- containerPort: 8080
Expand Down
2 changes: 1 addition & 1 deletion manifests/manifests/external/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: soft-backend-external
image: ghcr.io/ueckoken/plarail2022-external:3eb3046-1668770474 # {"$imagepolicy": "plarail2021:external"}
image: ghcr.io/ueckoken/plarail2022-external:6aa5ebb-1668772583 # {"$imagepolicy": "plarail2021:external"}
imagePullPolicy: Always
ports:
- containerPort: 8080
Expand Down
2 changes: 1 addition & 1 deletion manifests/manifests/frontend/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: plarail2022-soft-frontend
image: ghcr.io/ueckoken/plarail2022-frontend:99f21a6-1668771879 # {"$imagepolicy": "plarail2021:frontend"}
image: ghcr.io/ueckoken/plarail2022-frontend:6aa5ebb-1668772583 # {"$imagepolicy": "plarail2021:frontend"}
imagePullPolicy: Always
ports:
- containerPort: 8080
2 changes: 1 addition & 1 deletion manifests/manifests/internal/internal/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: soft-backend-internal
image: ghcr.io/ueckoken/plarail2022-internal:99f21a6-1668771879 # {"$imagepolicy": "plarail2021:internal"}
image: ghcr.io/ueckoken/plarail2022-internal:6aa5ebb-1668772583 # {"$imagepolicy": "plarail2021:internal"}
imagePullPolicy: Always
ports:
- containerPort: 54321
2 changes: 1 addition & 1 deletion manifests/manifests/internal/json2grpc/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: soft-backend-json2grpc
image: ghcr.io/ueckoken/plarail2022-json2grpc:99f21a6-1668771879 # {"$imagepolicy": "plarail2021:json2grpc"}
image: ghcr.io/ueckoken/plarail2022-json2grpc:6aa5ebb-1668772583 # {"$imagepolicy": "plarail2021:json2grpc"}
imagePullPolicy: Always
ports:
- containerPort: 8080
Expand Down
2 changes: 1 addition & 1 deletion manifests/manifests/logviewer/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
app: logviewer
spec:
containers:
- image: ghcr.io/ueckoken/plarail2022-logviewer:99f21a6-1668771879 # {"$imagepolicy": "plarail2021:logviewer"}
- image: ghcr.io/ueckoken/plarail2022-logviewer:6aa5ebb-1668772583 # {"$imagepolicy": "plarail2021:logviewer"}
name: logviewer
ports:
- containerPort: 8080
Expand Down
2 changes: 1 addition & 1 deletion manifests/manifests/positioning/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: positioning
image: ghcr.io/ueckoken/plarail2022-positioning:99f21a6-1668771879 # {"$imagepolicy": "plarail2021:positioning"}
image: ghcr.io/ueckoken/plarail2022-positioning:6aa5ebb-1668772583 # {"$imagepolicy": "plarail2021:positioning"}
imagePullPolicy: Always
ports:
- containerPort: 8080
Expand Down
2 changes: 1 addition & 1 deletion manifests/manifests/python-webrtc-server/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: soft-python
image: ghcr.io/ueckoken/plarail2022-frontend-python:99f21a6-1668771879 # {"$imagepolicy": "plarail2021:frontend-python"}
image: ghcr.io/ueckoken/plarail2022-frontend-python:6aa5ebb-1668772583 # {"$imagepolicy": "plarail2021:frontend-python"}
imagePullPolicy: Always
ports:
- containerPort: 80
Expand Down
2 changes: 1 addition & 1 deletion manifests/manifests/receiver-test/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: webrtc-receiver
image: ghcr.io/ueckoken/plarail2022-receiver-test:99f21a6-1668771879 # {"$imagepolicy": "plarail2021:webrtc-receiver"}
image: ghcr.io/ueckoken/plarail2022-receiver-test:6aa5ebb-1668772583 # {"$imagepolicy": "plarail2021:webrtc-receiver"}
imagePullPolicy: Always
ports:
- containerPort: 80
Expand Down
2 changes: 1 addition & 1 deletion manifests/manifests/webrtc-sender/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: webrtc-sender
image: ghcr.io/ueckoken/plarail2022-webrtc-sender:99f21a6-1668771879 # {"$imagepolicy": "plarail2021:webrtc-sender"}
image: ghcr.io/ueckoken/plarail2022-webrtc-sender:6aa5ebb-1668772583 # {"$imagepolicy": "plarail2021:webrtc-sender"}
imagePullPolicy: Always
ports:
- containerPort: 80
Expand Down