Prometheus listener
A Prometheus listener exposes an endpoint with the Load Balancer’s metrics for scraping with Prometheus and viewing with Grafana. Unlike regular balancing listeners, it does not route traffic — it only serves metrics.Enable Prometheus listener
Open the Load Balancer settings
In the Cloud menu, select Networking and then Load Balancers. Click the Load Balancer name to open its settings.

Configure the listener
Enter a Name, select Prometheus as the Protocol. The default port is 
9101. Set a Connection limit if needed.The following options are available to secure the Prometheus listener:- Define an allowed IP range with Allowed CIDRs.
- Define a list of users with access through User List (Basic Auth).
- Enable SSL/TLS by adding certificates.
- Enable mTLS via the Gcore Cloud API.

Disable Prometheus listener
Before deleting a Prometheus listener, delete the corresponding job from all
prometheus.yml files.Open the Load Balancer settings
In the Cloud menu, select Networking and then Load Balancers. Click the Load Balancer name.
Logging as a service
Load Balancers can forward listener access logs to Gcore Managed Logging (LaaS). Logs are stored in the destination region configured per Load Balancer.Enable logging
Open the Load Balancer settings
In the Cloud menu, select Networking and then Load Balancers. Click the Load Balancer name.
Configure logging
Select the Logging tab and activate the Enable Logging toggle.Select a Destination region, then select an existing log Topic or create a new one and specify the Retention period. For full configuration details, see Logging for load balancers.

View the logs
Logs are accessible in the Customer Portal or in a Grafana instance.Disable logging
Open the Load Balancer settings
In the Cloud menu, select Networking and then Load Balancers. Click the Load Balancer name.
Cloud API endpoints
Status, metrics, and general statistics for Load Balancers are available via the Gcore Cloud API.Load Balancer status
The status endpoints return the operating and provisioning status of a Load Balancer, its listeners, and their pools. Request one Load Balancer’s status or status for all Load Balancers.Load Balancer metrics
The metrics endpoint returns CPU, memory, and network utilization data for the Load Balancer.Load Balancer and listener statistics
Request statistics by calling the GET endpoint with?show_stats=true: one Load Balancer, one listener, or all listeners.

