Skip to content

Comments

coturn: refactor resource labels, expose ServiceMonitor for metrics endpoint#2677

Merged
sysvinit merged 5 commits intodevelopfrom
sysvinit/coturn-svc-mon
Sep 7, 2022
Merged

coturn: refactor resource labels, expose ServiceMonitor for metrics endpoint#2677
sysvinit merged 5 commits intodevelopfrom
sysvinit/coturn-svc-mon

Conversation

@sysvinit
Copy link
Contributor

@sysvinit sysvinit commented Sep 6, 2022

This change introduces an option to the coturn Helm chart to install a ServiceMonitor resource, to expose the metrics endpoints on coturn pods to a third-party metrics collection agent, such as grafana-agent.

As a side-effect, I've refactored the labels which are applied to Kubernetes resources in this chart, so they are consistent with the conventions in the wire-server charts (e.g. use app instead of wireService or app.kubernetes.io/name -- see #2413)

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

This adds the labels app, chart, heritage, and release to the coturn chart
(same as the wire-server charts), and removes the boilerplate for overriding
resource names.
The Service is headless, so this port is not exposed to the outside world; this
is required so that the metrics endpoint is visible to the metrics collection
agent which consumes the ServiceMonitor.
@sysvinit sysvinit temporarily deployed to cachix September 6, 2022 12:57 Inactive
@sysvinit sysvinit temporarily deployed to cachix September 6, 2022 12:57 Inactive
@sysvinit sysvinit merged commit 1bd1117 into develop Sep 7, 2022
@sysvinit sysvinit deleted the sysvinit/coturn-svc-mon branch September 7, 2022 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants