Prometheus Monitoring Properties

Monitoring Configuration Properties describes the properties for configuring SBA Gateway monitoring with Prometheus.

Table 1. Monitoring Configuration Properties
Property Description
gateway.monitoring.prometheus.enabled Enables the /metrics URL and publishes Prometheus metrics. The default value is true.
gateway.monitoring.prometheus.applicationName A prefix for metric names describing the application context for the metric. The default value is sba-5gc-gateway.

The following gateway.yaml excerpt shows the common configuration default values (where defaults exist) for these properties:

  # Monitoring-related settings
  monitoring:
    # Enable the /metrics URL and publish prometheus metrics
    prometheus:
      enabled: true
      applicationName: sba-5gc-gateway