line 248 in bugathon table
@@ -18,14 +18,14 @@ scope dash
Send metrics from nginx to Datadog at `ddoghost`, using an environment variable and all other defaults:
```
-SCOPE_METRIC_DEST=udp://ddoghost:5000 ldscope nginx
+LD_PRELOAD=/opt/scope/libscope.so SCOPE_METRIC_DEST=udp://ddoghost:8125 nginx
```
#### Example 3:
Send configured events from curl to the server `myHost.example.com` on port 9000, using the config file at `/opt/scope/assets/scope.yml`:
```
-SCOPE_HOME=/opt/scope/assets ldscope curl https://cribl.io
+scope run -u /opt/scope/assets/scope.yml -- curl https://cribl.io
```
Configuration file example:
@@ -43,7 +43,7 @@ event:
Send HTTP events from Slack to a Splunk server at `myHost.example.com`:
```
-ldscope slack
+scope run --passthrough -- slack
```
Configuration file example, located at `/etc/scope` or `~/scope.yml`:
@@ -64,7 +64,7 @@ event:
```
#### Example 5:
-Send DNS events from curl to the default host. This example uses the library in the current directory, independently of the CLI or loader:
+Send DNS events from curl to the default host. This example uses the library in the current directory, independently of the CLI:
```
SCOPE_EVENT_DNS=true LD_PRELOAD=./libscope.so curl https://cribl.io
@@ -74,7 +74,7 @@ SCOPE_EVENT_DNS=true LD_PRELOAD=./libscope.so curl https://cribl.io
Send default metrics from the Go static application `hello` to the Datadog server at `ddog`:
```
-ldscope ./hello
+scope run -m udp://ddog:8125
```
Configuration file example:
