Configuration Example
The following is an example configuration to enable only production level for all the application metrics.
infra metrics verbose application level production
The following is an example configuration to enable production level for smf_service_stats application metrics and debug level for all other application metrics.
infra metrics verbose application smf_service_stats level production
The following is an example configuration to enable debug level for smf_service_stats application metrics along with granular labels and production level for all other application metrics.
infra metrics verbose application level production smf_service_stats level debug granular-labels [ dnn ]
The following is an example configuration to enable production level for smf_service_stats application metrics along with granular labels and debug level for all other application metrics.
infra metrics verbose application smf_service_stats level production granular-labels [ dnn ]
The following is an example configuration to disable smf_service_stats application metrics and debug level for all other application metrics.
infra metrics verbose application smf_service_stats level off
The following is an example configuration to configure NSSAI labels of smf_service_stats metrics.
infra metrics verbose application metrics smf_service_stats level debug granular-labels [ snssai ]
Note | The NSSAI statistics are not pegged without configuring the NSSAI label in the granular-labels configuration. |