Skip to content

Commit

Permalink
[blockscout-proxy-verifier] Fixing metrics configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
nzenchik committed Jun 20, 2024
1 parent cfeed34 commit 9076c0e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
4 changes: 4 additions & 0 deletions charts/blockscout-proxy-verifier/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# ChangeLog

## 1.1.1

- Fixing metrics configuration

## 1.1.0

- Adding configuration files support
Expand Down
2 changes: 1 addition & 1 deletion charts/blockscout-proxy-verifier/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.1.0
version: 1.1.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ spec:
containerPort: 6060
protocol: TCP
env:
{{- if .Values.proxyVerifier.serviceMonitor.enabled }}
- name: PROXY_VERIFIER__METRICS__ENABLED
value: 'true'
{{- end }}
{{- range $key, $value := .Values.proxyVerifier.env }}
- name: {{ $key }}
value: {{ $value | quote }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Service
metadata:
name: {{ include "blockscout-proxy-verifier.fullname" . }}-svc
labels:
app: {{ .Release.Name }}-svc
app: {{ include "blockscout-proxy-verifier.fullname" . }}-svc
{{- include "blockscout-proxy-verifier.labels" . | nindent 4 }}
spec:
type: {{ .Values.proxyVerifier.service.type }}
Expand All @@ -13,7 +13,7 @@ spec:
protocol: TCP
name: http
- port: 6060
targetPort: http
targetPort: metrics
protocol: TCP
name: metrics
selector:
Expand Down

0 comments on commit 9076c0e

Please sign in to comment.