You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A special `common` subsection under `backends` defines configuration settings that are shared with all backends. Currently, it supports passing [diode](https://github.com/netboxlabs/diode) server settings to all backends.
70
+
A special `common` subsection under `backends` defines configuration settings that are shared with all backends. Currently, it supports passing [diode](https://github.com/netboxlabs/diode) server settings and OpenTelemetry configuration to all backends.
71
71
72
72
```yaml
73
73
backends:
@@ -80,6 +80,12 @@ A special `common` subsection under `backends` defines configuration settings th
80
80
agent_name: agent01
81
81
dry_run: false
82
82
dry_run_output_dir: /opt/orb
83
+
otel:
84
+
grpc: "grpc://otel-collector:4317"
85
+
agent_labels:
86
+
environment: "production"
87
+
datacenter: "us-east-1"
88
+
service: "network-monitoring"
83
89
```
84
90
85
91
### Policies
@@ -108,12 +114,12 @@ orb:
108
114
To run `orb-agent`, use the following command from the directory where your created your `agent.yaml` file:
109
115
110
116
```sh
111
-
docker run --net=host -v $(PWD):/opt/orb/ netboxlabs/orb-agent:latest run -c /opt/orb/agent.yaml
117
+
docker run --net=host -v ${PWD}:/opt/orb/ netboxlabs/orb-agent:latest run -c /opt/orb/agent.yaml
112
118
```
113
119
The container needs sufficient permissions, to send `icmp` and `tcp` packets. This can either be achieved by setting the network-mode to `host` or by changing the container user to `root`:
114
120
115
121
```sh
116
-
docker run -u root -v $(PWD):/opt/orb/ netboxlabs/orb-agent:latest run -c /opt/orb/agent.yaml
122
+
docker run -u root -v ${PWD}:/opt/orb/ netboxlabs/orb-agent:latest run -c /opt/orb/agent.yaml
0 commit comments