This setup is available for BYOC environments on AWS and GCP. The telemetry endpoints are internal network endpoints in your cloud account.
Prerequisites
Before you begin, make sure you have:- A BYOC environment on AWS or GCP.
- The RisingWave Cloud CLI installed and authenticated.
- A Grafana instance that can reach private endpoints in the BYOC network.
- Network rules that allow Grafana to connect to port
8428for VictoriaMetrics and port3100for Loki.
Enable telemetry endpoints
Create a custom settings file that enables hosted telemetry load balancers for your cloud provider.- AWS
- GCP
$BYOC_CONFIG. You can enable the setting when creating a new BYOC environment or when updating an existing one. The following example updates an existing BYOC environment:
Ready status:
Get the telemetry endpoints
After the update completes, runrwc byoc describe to view the telemetry endpoints:
telemetry section:
telemetry section is not present, confirm that enable_hosted_telemetry_lb is enabled in your custom settings and that the BYOC environment has finished updating.
Configure network access
The telemetry endpoints are reachable only from private networks that can route to the BYOC environment. RisingWave Cloud does not configure connectivity from your Grafana network to the BYOC network for you.- AWS
- GCP
On AWS, RisingWave Cloud creates an internal Network Load Balancer for the telemetry endpoints. Configure your network so that the Grafana instance can resolve and reach the internal load balancer DNS name. Depending on where Grafana runs, this may require VPC peering, Transit Gateway, VPN, Direct Connect, route table updates, or firewall rules.Allow outbound traffic from Grafana to:
Add data sources in Grafana
Add the telemetry endpoints as Grafana data sources.Add VictoriaMetrics
- In Grafana, open Data sources.
- Add a Prometheus data source.
-
Set the URL to the VictoriaMetrics endpoint with the
http://scheme: - Click Save & test.
Add Loki
- In Grafana, open Data sources.
- Add a Loki data source.
-
Set the URL to the Loki endpoint with the
http://scheme: - Click Save & test.
Related topics
- Bring your own cloud - Create and manage BYOC environments.
- Export metrics - Use the Cloud metrics API as an alternative metrics export path.
- Check status and metrics - View project status and metrics in the Cloud Console.