Skip to content

Commit 0c5fc0f

Browse files
committed
Move to OTel NGINX receiver
1 parent 9be620f commit 0c5fc0f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

workshop/k3s/otel-collector.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,14 @@ agent:
1717
receivers:
1818
receiver_creator:
1919
receivers:
20-
smartagent/nginx:
20+
nginx:
2121
rule: type == "port" && pod.name matches "nginx" && port == 8082
2222
config:
23-
type: collectd/nginx
23+
endpoint: 'http://`endpoint`/nginx_status'
24+
# smartagent/nginx:
25+
# rule: type == "port" && pod.name matches "nginx" && port == 8082
26+
# config:
27+
# type: collectd/nginx
2428
mysql/workshop:
2529
rule: type == "port" && pod.name matches "mysql" && port == 3306
2630
config:

0 commit comments

Comments
 (0)