Metrics verbosity framework
A metrics verbosity framework is a monitoring control mechanism that
-
classifies application-layer metrics into verbosity levels,
-
determines emission of metrics during a Prometheus scrape cycle, and
-
enables configuration of metric visibility using OAM CLI and ConfigMap settings.
Each pod uses the app-infra metrics verbosity framework to determine whether a Prometheus metric is emitted during a scrape cycle. Metrics are classified into the following verbosity levels:
|
Level |
Integer value |
Description |
|---|---|---|
|
Production |
0 |
Essential production metrics; always emitted. |
|
Debug |
1 |
Investigation-oriented metrics; emitted when verbosity level is greater than or equal to Debug. |
|
Trace |
2 |
High-frequency or verbose metrics; emitted when verbosity level is greater than or equal to Trace. |
|
Off |
-1 |
Never emitted. |
Verbosity level for each pod is configured through the OAM CLI and stored in the infra-system-conf ConfigMap. The podType field determines which type of pod is targeted.
|
podType |
Applies to |
Controls |
|---|---|---|
|
service |
cn-ipam, bng-dhcp, bng-smf, ... |
Infra-internal metrics (framework metrics) |
|
protocol |
bng-n4-protocol, ... |
Infra-internal metrics |
|
load-balancer |
LB pods |
Infra-internal metrics |
|
application |
All pods |
Application-layer metrics (for example, ipam-pool-stats, dhcp-* metrics) |
![]() Note |
A single pod responds to two verbosity settings: one for its podType (such as service) that controls infrastructure-internal metrics, and another for application, which controls application-layer metrics. If you want to adjust both types of metrics, you must configure both verbosity settings. |
From Release 2026.02.0 onwards, the fallback level for application-layer metrics changed when no podType: application entry is present in the ConfigMap.
In app-infra/src/app-infra/infra/Types.go, the fallback level changed from
DefApplicationVerboseLevel = MetricsVerboseLevelDebug
to
DefApplicationVerboseLevel = MetricsVerboseLevelProduction.
|
Application metric gate |
Before Release 2026.02.0 |
From Release 2026.02.0 onwards |
|---|---|---|
|
Production (0) |
Emitted |
Emitted (no change) |
|
Debug (1) |
Emitted (default was Debug) |
Suppressed (default is now Production) |
|
Trace (2) |
Suppressed |
Suppressed (no change) |
![]() Important |
If your deployment previously showed application-level debug metrics without a configmap entry, you now need to explicitly
add a |

Feedback