Skip to content

Commit

Permalink
Add gw provider specific cmds to set up monitors
Browse files Browse the repository at this point in the history
Signed-off-by: David Martin <[email protected]>
  • Loading branch information
david-martin authored and R-Lawton committed Oct 10, 2024
1 parent adb1362 commit 3a01cf7
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion config/observability/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ If however you have run `make local-setup` and would like to install the observa
```bash
./bin/kustomize build ./config/observability/| docker run --rm -i docker.io/ryane/kfilt -i kind=CustomResourceDefinition | kubectl apply --server-side -f -
./bin/kustomize build ./config/observability/| docker run --rm -i docker.io/ryane/kfilt -x kind=CustomResourceDefinition | kubectl apply -f -
./bin/kustomize build ./config/observability/prometheus/monitors/envoy | kubectl apply -f -
./bin/kustomize build ./config/thanos | kubectl apply -f -
./bin/kustomize build ./examples/dashboards | kubectl apply -f -
./bin/kustomize build ./examples/alerts | kubectl apply -f -
Expand All @@ -21,6 +20,18 @@ This will deploy prometheus, alertmanager and grafana into the `monitoring` name
along with metrics scrape configuration for Istio and Envoy.
Thanos will also be deployed with prometheus configured to remote write to it.

If you are using Istio as your gateway provider, run this command to configure & scrape Istio specific metrics

```bash
./bin/kustomize build ./config/observability/prometheus/monitors/istio | kubectl apply -f -
```

If you are using Envoy Gateway as your gateway provider, run this command to configure & scrape Envoy Gateway specific metrics:

```bash
./bin/kustomize build ./config/observability/prometheus/monitors/envoy | kubectl apply -f -
```

## Accessing Grafana & Prometheus

Use port forwarding to access Grafana & Prometheus:
Expand Down

0 comments on commit 3a01cf7

Please sign in to comment.