Skip to content

Commit

Permalink
Expose prometheus scraping of telegraf via metrics_mendix port (#21)
Browse files Browse the repository at this point in the history
* Expose prometheus scraping of telegraf via metrics_mendix port

* Do not publish on pull request
  • Loading branch information
xiwenc authored Dec 22, 2023
1 parent 688d8a2 commit 9f59bce
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- main
pull_request:

jobs:
release:
Expand Down
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.0.0
version: 2.1.0
description: Mendix Application Chart.
icon: https://cinaq.github.io/helm-charts/icons/mendix-logo.png
maintainers:
Expand Down
2 changes: 2 additions & 0 deletions charts/app-mendix/templates/deployment-leader.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ spec:
{{- if .Values.metrics.enabled }}
- containerPort: {{ add .Values.service.internalPort 3}}
name: metrics
- containerPort: 9273
name: metrics_mendix
{{- end }}
env:
- name: CF_INSTANCE_INDEX
Expand Down
3 changes: 3 additions & 0 deletions charts/app-mendix/templates/deployment-slave.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ spec:
- containerPort: {{ .Values.service.internalPort }}
{{- if .Values.metrics.enabled }}
- containerPort: {{ add .Values.service.internalPort 3 }}
name: metrics
- containerPort: 9273
name: metrics_mendix
{{- end }}
env:
- name: CF_INSTANCE_INDEX
Expand Down

0 comments on commit 9f59bce

Please sign in to comment.