RocketChat / helm-charts

Repository for RocketChat helm charts
37 stars 67 forks source link

Missing prometheus port #18

Closed danielwegener closed 3 years ago

danielwegener commented 3 years ago

RocketChat can expose prometheus metrics. This can be enabled via ui or env (OVERWRITE_SETTING_Prometheus_Enabled). In order to scrape rocketchat via prometheus operator (e.g. PodMonitor), it is required to declare the Pod metrics port, e.g.:

        ports:
        - name: http
          containerPort: 3000
        - name: metrics
          containerPort: 9458

A more elaborate implementation would put all these settings behind a value flag that would: