Skip to content

Commit

Permalink
Merge pull request #26 from cinaq/mendix10
Browse files Browse the repository at this point in the history
Mendix10 support stated to micrometer
  • Loading branch information
vktrbrlv authored Apr 10, 2024
2 parents 7044deb + 18c682b commit 0f10e8a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/app-mendix/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: app-mendix
version: 2.2.5
version: 2.3.0
description: Mendix Application Chart.
icon: https://cinaq.github.io/helm-charts/icons/mendix-logo.png
maintainers:
Expand Down
6 changes: 6 additions & 0 deletions charts/app-mendix/templates/deployment-leader.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,16 @@ spec:
name: metrics-mendix
{{- end }}
env:
- name: NON_MENDIX_PUBLIC_CLOUD
value: "true"
- name: CF_INSTANCE_INDEX
value: "0"
- name: MXRUNTIME_Metrics_Registries
value: '[{"type": "prometheus", "settings": {"step": "5m"}}]'
- name: RUNTIME_LOGIN_METRICS_ENABLED
value: {{ .Values.metrics.runtimeLoginMetricsEnabled | quote }}
- name: TRENDS_FORWARDER_URL
value: {{ .Values.metrics.trendsForwarderUrl | quote }}
{{- if .Values.licenseId }}
- name: LICENSE_ID
value: {{ .Values.licenseId }}
Expand Down
6 changes: 6 additions & 0 deletions charts/app-mendix/templates/deployment-slave.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,16 @@ spec:
name: metrics-mendix
{{- end }}
env:
- name: NON_MENDIX_PUBLIC_CLOUD
value: "true"
- name: CF_INSTANCE_INDEX
value: "1"
- name: MXRUNTIME_Metrics_Registries
value: '[{"type": "prometheus", "settings": {"step": "5m"}}]'
- name: RUNTIME_LOGIN_METRICS_ENABLED
value: {{ .Values.metrics.runtimeLoginMetricsEnabled | quote }}
- name: TRENDS_FORWARDER_URL
value: {{ .Values.metrics.trendsForwarderUrl | quote }}
{{- if .Values.licenseId }}
- name: LICENSE_ID
value: {{ .Values.licenseId }}
Expand Down
5 changes: 4 additions & 1 deletion charts/app-mendix/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,7 @@ lifecycle:
command: /opt/eap/bin/stop.sh

metrics:
enabled: true
enabled: true
runtimeLoginMetricsEnabled: true
# example: http://loki-stack:3100/loki/api/v1/push
trendsForwarderUrl: ""

0 comments on commit 0f10e8a

Please sign in to comment.