Skip to content

Commit 77f189f

Browse files
committed
fix: specify go os and arch for build
1 parent 0478375 commit 77f189f

File tree

1 file changed

+2
-2
lines changed
  • tutorials/export-audit-trail-to-datadog

1 file changed

+2
-2
lines changed

tutorials/export-audit-trail-to-datadog/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ providers:
5555
- gomod: go.opentelemetry.io/collector/confmap/provider/yamlprovider v1.24.0
5656
```
5757
58-
Then you can build the collector by running the following command:
58+
Then you can build the collector by running the following command. We specify `GOOS` and `GOARCH` because the target deployment is linux with an AMD64 CPU.
5959

6060
```
61-
./ocb --config builder-config.yaml
61+
GOOS=linux GOARCH=amd64 ./ocb --config builder-config.yaml
6262
```
6363
6464
You will have a new folder named `otelcol-audit-trail/` with the binary compiled inside named `otelcol-audit-trail`.

0 commit comments

Comments
 (0)