- Notifications
You must be signed in to change notification settings - Fork926
Description
Hi Coders, found some doc issues on this page:
https://coder.com/docs/admin/integrations/prometheus
First error on the Service Monitor the port name is not matching based on the Service above.
Service Name: - name: prom-http
Service Monitor Port Name:- port: prometheus-http
Second suggested changed. For some reason our target was not appearing on our prometheus targets, we had to add a namespaceSelector key on the Service Monitor to successfully appear
apiVersion: monitoring.coreos.com/v1kind: ServiceMonitormetadata: annotations: [] labels: {} name: coder-service-monitor namespace: coderspec: endpoints: - interval: 10s port: prom-http scrapeTimeout: 10s namespaceSelector: matchNames: - coder selector: matchLabels: app.kubernetes.io/name: coder
Regards,
Mata