Skip to content

Commit e32dd25

Browse files
committed
Emergency fix frontend telemetry docs for non-nav tenants
1 parent b297d37 commit e32dd25

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

docs/observability/frontend/README.md

+10-5
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,16 @@ initializeFaro({
5757
The URL points to a Grafana Agent collector, and should be set to one of the following values.
5858
See below for auto-configuration instructions for when your app is a NAIS application.
5959

60-
| Collector endpoint | Cluster |
61-
| ---------------------------------------------- | ---------- |
62-
| `https://telemetry.nav.no/collect` | `prod-gcp` |
63-
| `https://telemetry.ekstern.dev.nav.no/collect` | `dev-gcp` |
64-
| `http://localhost:12347/collect` | N/A |
60+
| Collector endpoint | Environment |
61+
| ------------------ | ----------- |
62+
{% if tenant() == "nav" %}
63+
| `https://telemetry.nav.no/collect` | `prod` |
64+
| `https://telemetry.ekstern.dev.nav.no/collect` | `dev` |
65+
{% else %}
66+
| `<<tenant_url("telemetry.external.prod")>>`/collect` | `prod` |
67+
| `<<tenant_url("telemetry.external.dev")>>`/collect` | `dev` |
68+
{% endif %}
69+
| `http://localhost:12347/collect` | `local` |
6570

6671
On-premises clusters are not supported.
6772

0 commit comments

Comments
 (0)