Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions content/nginx-one-console/agent/configure-otel-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,11 @@ service:
- prometheus
```



#### Third-party OTel Collector

```yaml
exporters:
otlp/local-collector:
otlp_grpc/local-collector:
endpoint: "my-local-collector.com:443"

service:
Expand All @@ -135,7 +133,7 @@ service:
processors:
- resource/default
exporters:
- otlp/local-collector
- otlp_grpc/local-collector
```

#### Add Debug Exporter
Expand All @@ -158,8 +156,6 @@ service:
- debug
```



### Troubleshooting

To view the merged OpenTelemetry configuration, change the NGINX Agent log level to "debug" in `/etc/nginx-agent/nginx-agent.conf`:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ logs/default:
- batch/default_logs
- resource/default
exporters:
- otlp/default
- otlp_grpc/default
```

This pipeline accepts F5 WAF for NGINX security logs from `tcplog/nginx_app_protect`. It filters and batches the logs, then exports them to NGINX One Console through `otlp/default`.
Expand Down
Loading