Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcf7d143

Browse files
authored
docs: use consistent examples in prometheus doc and add namespaceSelector spec (#16918)
closes:#15385 - use consistent `prom-http` port (@johnstcn looks like this waschanged/added in#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 tookso long to get this in) from issue:> For some reason our target was not appearing on our prometheustargets, we had to add a namespaceSelector key on the Service Monitor tosuccessfully appearCo-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com>
1 parent0ea804c commitcf7d143

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)

[8]ページ先頭

©2009-2025 Movatter.jp