You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4. Add Prometheus remote_write and Loki write config, if not present already. From the Grafana Cloud home, click on your stack and view URLs under Prometheus and Loki details where API tokens may also be generated.
229
229
230
-
```
230
+
```alloy
231
231
prometheus.remote_write "metrics_service" {
232
232
endpoint {
233
233
url = sys.env("GCLOUD_HOSTED_METRICS_URL")
@@ -279,7 +279,7 @@ extraConfig: |
279
279
280
280
This is a complete example of Alloy Database Observability configuration using two different databases:
281
281
282
-
```
282
+
```alloy
283
283
prometheus.remote_write "metrics_service" {
284
284
endpoint {
285
285
url = sys.env("GCLOUD_HOSTED_METRICS_URL")
@@ -453,7 +453,7 @@ GRANT pg_read_all_data TO "db-o11y";
453
453
454
454
3. Copy this block for each DB you'd like to monitor.
4. Add Prometheus remote_write and Loki write config, if not present already. From the Grafana Cloud home, click on your stack and view URLs under Prometheus and Loki details where API tokens may also be generated.
0 commit comments