Skip to content

Commit

Permalink
reduced scraping to kyma-system namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
a-thaler committed Nov 28, 2024
1 parent 71abd58 commit 31acd83
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions hack/load-tests/run-load-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,9 @@ function cleanup() {
echo -e "Check prometheus healthiness"
wait_for_prometheus_resources

echo -e "Describe prometheus pod for debugging"
kubectl describe pod -l app.kubernetes.io/name=prometheus

echo -e "Check connectivity to prometheus using URL: $PROMAPI"
curl $PROMAPI

Expand Down
4 changes: 2 additions & 2 deletions hack/load-tests/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ prometheus:
regex: ([^:]+)(?::\d+)?;(\d+)
replacement: $1:$2
- source_labels: [__meta_kubernetes_namespace]
action: drop
regex: kube-system
action: keep
regex: kyma-system
- source_labels: [__meta_kubernetes_namespace]
action: replace
target_label: namespace
Expand Down

0 comments on commit 31acd83

Please sign in to comment.