We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b442b7 commit b78a0deCopy full SHA for b78a0de
1 file changed
README.md
@@ -247,7 +247,7 @@ kubectl get podmonitor pg-eu -o wide
247
248
# Verify Prometheus is scraping CNPG metrics
249
kubectl -n prometheus-operator port-forward svc/prometheus 9090:9090 &
250
-curl -s "http://localhost:9090/api/v1/query?query=sum(cnpg_collector_up{cluster=\"pg-eu\"})"
+curl -s --data-urlencode 'query=sum(cnpg_collector_up{cluster="pg-eu"})' "http://localhost:9090/api/v1/query"
251
```
252
253
**Access Grafana dashboard:**
0 commit comments