> This page is for NVIDIA Background Noise Removal on Holoscan for Media, version 2.0.0 (Latest) (default).
> For other versions, use one of these documentation indexes:
> - 2.0.0 (Latest) (default): https://docs.nvidia.com/nim/maxine/bnr-h4m/2.0.0/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nim/maxine/llms.txt.

# Observability

BNR exposes standard Kubernetes workload status, NIM HTTP health endpoints, metrics, and runtime logs. Triton and application logs are available through the pod logs and, when enabled, the NIM logs PVC.

## Kubernetes Status

Check Helm release status:

```bash
helm status bnr-h4m-sample
```

Check pods and deployments:

```bash
kubectl get pods -o wide
kubectl get deploy
kubectl describe pod <pod-name>
```

On Red Hat OpenShift, replace `kubectl` with `oc`.

## Logs

View BNR NIM logs:

```bash
kubectl logs deploy/<nim-app-name> -c <nim-app-name>
```

If the chart uses a different container name, list containers first:

```bash
kubectl get pod <pod-name> -o jsonpath='{.spec.containers[*].name}'
```

## NIM HTTP Endpoints

The BNR NIM container exposes HTTP endpoints on port `8000`, and the service chart publishes them on the `<appName>-endpoint` service's `nim-http` port.

| Endpoint | Purpose |
|----------|---------|
| `/v1/health/live` | Liveness and startup probe endpoint. |
| `/v1/health/ready` | Readiness probe endpoint. |
| `/v1/metrics` | Metrics endpoint. |
| `/intensity_ratio` | Runtime denoising intensity get/set endpoint. |

## Persistent Logs

The service chart and operator can enable persistent NIM logs:

```yaml
nimLogs:
  enabled: true
  size: "5Gi"
```

## NMOS

When `nmos.enabled=true`, verify that the sender, receiver, and BNR NIM are registered in the NMOS Connection Manager UI. The expected labels are as follows:

- `BNR Audio Sender`
- `BNR-NIM`
- `BNR Audio Receiver`

## SRT Preview

For the demo chart, verify receiver output:

```bash
ffplay "srt://<node-internal-ip>:32090"
```