Skip to content

Doc Issues Prometheus Integration #15385

@nano-mata-marin

Description

@nano-mata-marin

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/v1
kind: ServiceMonitor
metadata:
  annotations: []
  labels: {}
  name: coder-service-monitor
  namespace: coder
spec:
  endpoints:
  - interval: 10s
    port: prom-http
    scrapeTimeout: 10s
  namespaceSelector:
    matchNames:
    - coder
  selector:
    matchLabels:
      app.kubernetes.io/name: coder

Regards,
Mata

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsArea: coder.com/docsdocs-readyReady to be worked on for docs, details are clear

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy