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
1. Follow instructions from README to install opentelemetry-collector-builder
2. Clone the telemetry-generator project
3. Run command opentelemetry-collector-builder --config config/builder-config.yml
4. See error I got in description
Screenshots
![DESCRIPTION](LINK.png)
Logs
full stack:
2022-09-29T07:59:12.531Z INFO cmd/root.go:99 OpenTelemetry Collector distribution builder {"version": "dev", "date": "unknown"}
2022-09-29T07:59:12.531Z INFO cmd/root.go:115 Using config file {"path": "config/builder-config.yml"}
2022-09-29T07:59:12.532Z INFO builder/config.go:102 Using go {"Go executable": "/usr/bin/go"}
2022-09-29T07:59:12.533Z INFO builder/main.go:87 Sources created {"path": "build"}
2022-09-29T07:59:47.137Z INFO builder/main.go:119 Getting go modules
2022-09-29T08:00:00.579Z INFO builder/main.go:98 Compiling
Error: failed to compile the OpenTelemetry Collector distribution: exit status 2. Output: "# github.com/lightstep/telemetry-generator/generatorreceiver/internal/topology\n../generatorreceiver/internal/topology/pickable.go:18:6: missing function body\n../generatorreceiver/internal/topology/pickable.go:18:23: syntax error: unexpected [, expecting (\n../generatorreceiver/internal/topology/pickable.go:20:2: syntax error: non-declaration statement outside function body\n../generatorreceiver/internal/topology/pickable.go:39:2: syntax error: non-declaration statement outside function body\nnote: module requires Go 1.18\n"
Browsers
Chrome
OS
Linux
The text was updated successfully, but these errors were encountered:
Description
when running command "opentelemetry-collector-builder --config config/builder-config.yml", I got error:
Error: failed to compile the OpenTelemetry Collector distribution: exit status 2. Output: "# github.com/lightstep/telemetry-generator/generatorreceiver/internal/topology\n../generatorreceiver/internal/topology/pickable.go:18:6: missing function body\n../generatorreceiver/internal/topology/pickable.go:18:23: syntax error: unexpected [, expecting (\n../generatorreceiver/internal/topology/pickable.go:20:2: syntax error: non-declaration statement outside function body\n../generatorreceiver/internal/topology/pickable.go:39:2: syntax error: non-declaration statement outside function body\nnote: module requires Go 1.18\n"
but when I followed instructions to install the builder, I encountered no issues
Reproduction URL
https://github.com/lightstep/telemetry-generator
Reproduction steps
Screenshots
![DESCRIPTION](LINK.png)
Logs
Browsers
Chrome
OS
Linux
The text was updated successfully, but these errors were encountered: