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

Subject: Communication Issue Between Viz and External Prometheus #1659

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
11 changes: 10 additions & 1 deletion linkerd.io/content/2.13/tasks/external-prometheus.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,23 @@ on the Prometheus instance to power the dashboard and CLI.
The `prometheusUrl` field gives you a single place through
which all these components can be configured to an external Prometheus URL.
This is allowed both through the CLI and Helm.
If the external Prometheus is secured with basic auth,
you can include the credentials in the URL as well.

### CLI

This can be done by passing a file with the above field to the `values` flag,
which is available through `linkerd viz install` command.

```yaml
prometheusUrl: existing-prometheus.xyz:9090
prometheusUrl: http://existing-prometheus.namespace:9090
```

If the external Prometheus is secured with basic auth, you can include the
credentials in the URL as well.

```yaml
prometheusUrl: http://username:[email protected]:9090
```

Once applied, this configuration is not persistent across installs.
Expand Down
11 changes: 10 additions & 1 deletion linkerd.io/content/2.14/tasks/external-prometheus.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,23 @@ on the Prometheus instance to power the dashboard and CLI.
The `prometheusUrl` field gives you a single place through
which all these components can be configured to an external Prometheus URL.
This is allowed both through the CLI and Helm.
If the external Prometheus is secured with basic auth,
you can include the credentials in the URL as well.

### CLI

This can be done by passing a file with the above field to the `values` flag,
which is available through `linkerd viz install` command.

```yaml
prometheusUrl: existing-prometheus.xyz:9090
prometheusUrl: http://existing-prometheus.namespace:9090
```

If the external Prometheus is secured with basic auth, you can include the
credentials in the URL as well.

```yaml
prometheusUrl: http://username:[email protected]:9090
```

Once applied, this configuration is not persistent across installs.
Expand Down
Loading