mirror of
https://gitlab.opencode.de/bmi/opendesk/deployment/opendesk.git
synced 2025-12-06 07:21:36 +01:00
feat(nubus): Expose keycloak metrics
This commit is contained in:
@@ -44,6 +44,7 @@ releases:
|
||||
version: "{{ .Values.charts.nubus.version }}"
|
||||
values:
|
||||
- "values-nubus.yaml.gotmpl"
|
||||
- "values-nubus-new.yaml.gotmpl"
|
||||
{{- range .Values.customization.release.ums }}
|
||||
- {{ . }}
|
||||
{{- end }}
|
||||
|
||||
23
helmfile/apps/nubus/values-nubus-new.yaml.gotmpl
Normal file
23
helmfile/apps/nubus/values-nubus-new.yaml.gotmpl
Normal file
@@ -0,0 +1,23 @@
|
||||
# Enable metrics exposition
|
||||
# https://www.keycloak.org/observability/configuration-metrics
|
||||
# https://www.keycloak.org/observability/event-metrics
|
||||
keycloak:
|
||||
keycloak:
|
||||
features:
|
||||
enabled:
|
||||
- "admin-fine-grained-authz" # default value
|
||||
- "token-exchange" # default value
|
||||
- "user-event-metrics" # added by us
|
||||
extraEnvVars:
|
||||
- name: KC_EVENT_METRICS_USER_ENABLED
|
||||
value: "true"
|
||||
- name: KC_HTTP_METRICS_HISTOGRAMS_ENABLED
|
||||
value: "true"
|
||||
- name: KC_EVENT_METRICS_USER_TAGS
|
||||
value: "realm,clientId"
|
||||
service:
|
||||
ports:
|
||||
mgmt:
|
||||
port: 9000
|
||||
containerPort: 9000
|
||||
protocol: "TCP"
|
||||
Reference in New Issue
Block a user