Skip to content

Commit cf7d143

Browse files
authored
docs: use consistent examples in prometheus doc and add namespaceSelector spec (coder#16918)
closes: coder#15385 - use consistent `prom-http` port (@johnstcn looks like this was changed/added in coder#12214 - do we prefer `prom-http` over `prometheus-http` or is it more important that they align?) - add `namespaceSelector:` per @francisco-mata (thanks! - sorry it took so long to get this in) from issue: > 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 Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com>
1 parent 0ea804c commit cf7d143

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/admin/integrations/prometheus.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,12 @@ metadata:
8484
namespace: coder
8585
spec:
8686
endpoints:
87-
- port: prometheus-http
87+
- port: prom-http
8888
interval: 10s
8989
scrapeTimeout: 10s
90+
namespaceSelector:
91+
matchNames:
92+
- coder
9093
selector:
9194
matchLabels:
9295
app.kubernetes.io/name: coder

0 commit comments

Comments
 (0)
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