Skip to content

Commit 6926a53

Browse files
aphralGJTorreG
andauthored
Update Agent OpenTelemetry Configs (#1949)
* chore: update opentelemetry config examples * chore: update opentelemetry tcp log config examples --------- Co-authored-by: Jon Torre <78599298+JTorreG@users.noreply.github.com>
1 parent 56f09a7 commit 6926a53

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

content/nginx-one-console/agent/configure-otel-metrics.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,11 @@ service:
118118
- prometheus
119119
```
120120
121-
122-
123121
#### Third-party OTel Collector
124122
125123
```yaml
126124
exporters:
127-
otlp/local-collector:
125+
otlp_grpc/local-collector:
128126
endpoint: "my-local-collector.com:443"
129127

130128
service:
@@ -135,7 +133,7 @@ service:
135133
processors:
136134
- resource/default
137135
exporters:
138-
- otlp/local-collector
136+
- otlp_grpc/local-collector
139137
```
140138
141139
#### Add Debug Exporter
@@ -158,8 +156,6 @@ service:
158156
- debug
159157
```
160158
161-
162-
163159
### Troubleshooting
164160
165161
To view the merged OpenTelemetry configuration, change the NGINX Agent log level to "debug" in `/etc/nginx-agent/nginx-agent.conf`:

content/nginx-one-console/waf-integration/waf-security-dashboard/local-dataplane-troubleshooting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,13 @@ Confirm it includes the following pipeline:
100100
```yaml
101101
logs/default:
102102
receivers:
103-
- tcplog/nginx_app_protect
103+
- tcp_log/nginx_app_protect
104104
processors:
105105
- securityviolationsfilter/default
106106
- batch/default_logs
107107
- resource/default
108108
exporters:
109-
- otlp/default
109+
- otlp_grpc/default
110110
```
111111
112112
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`.

0 commit comments

Comments
 (0)