https://signoz.io logo
#support
Title
# support
a

Arvin Corpuz

03/07/2023, 8:56 AM
hi! the signoz-otel-collector pod is stuck with crashloopbackoff status with the following error. hope some can help me on this 🙏 im using latest version 0.16.2
Copy code
Defaulted container "signoz-otel-collector" out of: signoz-otel-collector, signoz-otel-collector-init (init)
2023-03-07T08:43:25.041Z        info    service/telemetry.go:111        Setting up own telemetry...
2023-03-07T08:43:25.042Z        info    service/telemetry.go:141        Serving Prometheus metrics      {"address": "0.0.0.0:8888", "level": "Basic"}
2023-03-07T08:43:25.042Z        info    components/components.go:30     Stability level of component is undefined       {"kind": "exporter", "data_type": "metrics", "name": "clickhousemetricswrite", "stability": "Undefined"}
time="2023-03-07T08:43:25Z" level=info msg="Executing:\nCREATE DATABASE IF NOT EXISTS signoz_metrics ON CLUSTER cluster\n" component=clickhouse
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x38662b9]

goroutine 1 [running]:
<http://github.com/SigNoz/signoz-otel-collector/exporter/clickhousemetricsexporter.NewPrwExporter(0xc000f88180|github.com/SigNoz/signoz-otel-collector/exporter/clickhousemetricsexporter.NewPrwExporter(0xc000f88180>, {{0xc0002f6a10, {0x52b29e0, 0xc000640b80}, {0x52ba920, 0x7d58378}, 0x0}, {{0x4943e48, 0x15}, {0x49417a5, ...}, ...}})
        /src/exporter/clickhousemetricsexporter/exporter.go:90 +0x2f9
<http://github.com/SigNoz/signoz-otel-collector/exporter/clickhousemetricsexporter.createMetricsExporter(|github.com/SigNoz/signoz-otel-collector/exporter/clickhousemetricsexporter.createMetricsExporter(>{0x52eba28, 0xc0001b0000}, {{0xc0002f6a10, {0x52b29e0, 0xc000640b80}, {0x52ba920, 0x7d58378}, 0x0}, {{0x4943e48, 0x15}, ...}}, ...)
        /src/exporter/clickhousemetricsexporter/factory.go:71 +0x9f
<http://go.opentelemetry.io/collector/component.CreateMetricsExporterFunc.CreateMetricsExporter(...)|go.opentelemetry.io/collector/component.CreateMetricsExporterFunc.CreateMetricsExporter(...)>
        /go/pkg/mod/go.opentelemetry.io/collector/component@v0.66.0/exporter.go:149
<http://go.opentelemetry.io/collector/service/internal/pipelines.createExporter({0x52eba28|go.opentelemetry.io/collector/service/internal/pipelines.createExporter({0x52eba28>?, 0xc0001b0000?}, {{0xc0002f6a10, {0x52b29e0, 0xc000640b80}, {0x52ba920, 0x7d58378}, 0x0}, {{0x4943e48, 0x15}, ...}}, ...)
        /go/pkg/mod/go.opentelemetry.io/collector@v0.66.0/service/internal/pipelines/pipelines.go:374 +0x269
<http://go.opentelemetry.io/collector/service/internal/pipelines.buildExporter({0x52eba28|go.opentelemetry.io/collector/service/internal/pipelines.buildExporter({0x52eba28>, 0xc0001b0000}, {0xc000269f10, {0x52b29e0, 0xc000640b80}, {0x52ba920, 0x7d58378}, 0x0}, {{0x4943e48, 0x15}, ...}, ...)
        /go/pkg/mod/go.opentelemetry.io/collector@v0.66.0/service/internal/pipelines/pipelines.go:360 +0x2ec
<http://go.opentelemetry.io/collector/service/internal/pipelines.Build({0x52eba28|go.opentelemetry.io/collector/service/internal/pipelines.Build({0x52eba28>, 0xc0001b0000}, {{0xc000269f10, {0x52b29e0, 0xc000640b80}, {0x52ba920, 0x7d58378}, 0x0}, {{0x4943e48, 0x15}, ...}, ...})
        /go/pkg/mod/go.opentelemetry.io/collector@v0.66.0/service/internal/pipelines/pipelines.go:243 +0x1a85
<http://go.opentelemetry.io/collector/service.(*service).initExtensionsAndPipeline(0xc000640a80|go.opentelemetry.io/collector/service.(*service).initExtensionsAndPipeline(0xc000640a80>, 0xc001dcf540)
        /go/pkg/mod/go.opentelemetry.io/collector@v0.66.0/service/service.go:162 +0x2bf
<http://go.opentelemetry.io/collector/service.newService(0xc000cd7540)|go.opentelemetry.io/collector/service.newService(0xc000cd7540)>
        /go/pkg/mod/go.opentelemetry.io/collector@v0.66.0/service/service.go:75 +0x525
<http://go.opentelemetry.io/collector/service.(*Collector).setupConfigurationComponents(0xc001dcfa88|go.opentelemetry.io/collector/service.(*Collector).setupConfigurationComponents(0xc001dcfa88>, {0x52eba28, 0xc0001b0000})
        /go/pkg/mod/go.opentelemetry.io/collector@v0.66.0/service/collector.go:149 +0x1db
<http://go.opentelemetry.io/collector/service.(*Collector).Run(0xc001dcfa88|go.opentelemetry.io/collector/service.(*Collector).Run(0xc001dcfa88>, {0x52eba28, 0xc0001b0000})
        /go/pkg/mod/go.opentelemetry.io/collector@v0.66.0/service/collector.go:190 +0x46
<http://go.opentelemetry.io/collector/service.NewCommand.func1(0xc0008b2f00|go.opentelemetry.io/collector/service.NewCommand.func1(0xc0008b2f00>, {0x490a0cd?, 0x1?, 0x1?})
        /go/pkg/mod/go.opentelemetry.io/collector@v0.66.0/service/command.go:53 +0x479
<http://github.com/spf13/cobra.(*Command).execute(0xc0008b2f00|github.com/spf13/cobra.(*Command).execute(0xc0008b2f00>, {0xc0001ae010, 0x1, 0x1})
        /go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:916 +0x862
<http://github.com/spf13/cobra.(*Command).ExecuteC(0xc0008b2f00)|github.com/spf13/cobra.(*Command).ExecuteC(0xc0008b2f00)>
        /go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044 +0x3bc
<http://github.com/spf13/cobra.(*Command).Execute(...)|github.com/spf13/cobra.(*Command).Execute(...)>
        /go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:968
main.runInteractive({{0xc000e80150, 0xc000e81440, 0xc000e806c0, 0xc000c89d70}, {{0x4943e48, 0x15}, {0x49417a5, 0x15}, {0x49065d8, 0x6}}, ...})
        /src/cmd/signozcollector/main.go:37 +0x5e
main.run(...)
        /src/cmd/signozcollector/main_others.go:8
main.main()
        /src/cmd/signozcollector/main.go:30 +0x1d8
s

Srikanth Chekuri

03/07/2023, 9:14 AM
This happens when ClickHouse is not reachable. Please make sure it is running and reachable.
a

Arvin Corpuz

03/07/2023, 9:14 AM
alright thank you
2 Views