Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gw provider specific cmds to set up monitors #926

Merged
merged 1 commit into from
Oct 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading