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
GO111MODULE=on go install go.opentelemetry.io/collector/cmd/builder@latest
and once trying to run it, it fails with the following error:
builder --config=builder-config.yaml
2023-08-18T13:24:57.204-0400 INFO internal/command.go:117 OpenTelemetry Collector Builder {"version": "dev", "date": "unknown"}
2023-08-18T13:24:57.205-0400 INFO internal/command.go:150 Using config file {"path": "builder-config.yaml"}
2023-08-18T13:24:57.205-0400 INFO builder/config.go:106 Using go {"go-executable": "/usr/local/go/bin/go"}
2023-08-18T13:24:57.208-0400 INFO builder/main.go:69 Sources created {"path": "./otelcol-api"}
Error: failed to update go.mod: exit status 1. Output:
go: github.com/openclarity/apiclarity/plugins/otel-collector/[email protected] (replaced by github.com/openclarity/apiclarity/plugins/otel-collector/[email protected]): version "v0.0.0-20220915093602-8a11adcdb9e1" invalid: missing github.com/openclarity/apiclarity/plugins/otel-collector/apiclarityexporter/go.mod at revision 8a11adcdb9e1
What happened:
I'm trying to build a custom OpenTelemetry exporter to use the Trace Analyzer feature.
I installed the latest collector builder:
and once trying to run it, it fails with the following error:
Config:
(copied from the instructions here)
What you expected to happen:
A successful build of a custom OTEL Collector.
How to reproduce it (as minimally and precisely as possible):
Are there any error messages in API Clarity logs?
(e.g.
kubectl logs -n apiclarity --selector=app=apiclarity
)Anything else we need to know?:
go version go1.21.0 darwin/amd64
Environment:
kubectl version --short
):istioctl version
):kubectl -n apiclarity exec deploy/apiclarity -- ./backend version
)The text was updated successfully, but these errors were encountered: