feat(argo-workflows): Allow setting the metrics port name (#934)

* Allow setting the metrics port name
Here, we scrape every pod that has a .*-metrics port here
But the helm chart is locked to `metrics` which our Prometheus doesn't see

This PR will make it configurable with a default value of `metrics`

Signed-off-by: Julien Duchesne <julien.duchesne@grafana.com>

* Bump version

Signed-off-by: Julien Duchesne <julien.duchesne@grafana.com>

* Bump minor version

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
Julien Duchesne 2021-09-17 15:51:13 -04:00 committed by GitHub
parent 7477b33cba
commit c7584ab51d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View file

@ -57,6 +57,7 @@ controller:
enabled: false
path: /metrics
port: 9090
portName: metrics
servicePort: 8080
servicePortName: metrics
# the controller container's securityContext