metrico / otel-collector

OpenTelemetry Collector for qryn with preconfigured ingestors for Loki, Prometheus, Influx, OTLP and many more
https://qryn.dev
Apache License 2.0
29 stars 9 forks source link

panic: interface conversion: interface {} is nil, not bool #109

Open kodi opened 1 month ago

kodi commented 1 month ago

When deploying ghcr.io/metrico/qryn-otel-collector we had our tag set to :latest

I noticed that there is new version pushed, that coincides with our pods showing this error:

│ 2024/10/23 23:07:52 maxprocs: Updating GOMAXPROCS=1: determined from CPU quota                                                                                                                                                                                          │
│ 2024/10/23 23:07:52 INFO GOMEMLIMIT is already set, skipping package=github.com/KimMachineGun/automemlimit/memlimit GOMEMLIMIT=1638MiB                                                                                                                                  │
│ 2024-10-23T23:07:52.147Z    info    service@v0.108.1/service.go:178    Setting up own telemetry...                                                                                                                                                                      │
│ 2024-10-23T23:07:52.147Z    info    service@v0.108.1/telemetry.go:98    Serving metrics    {"address": "10.244.0.59:8888", "metrics level": "Normal"}                                                                                                                   │
│ 2024-10-23T23:07:52.147Z    info    memorylimiter/memorylimiter.go:151    Using percentage memory limiter    {"kind": "processor", "name": "memory_limiter", "pipeline": "metrics", "total_memory_mib": 2048, "limit_percentage": 80, "spike_limit_percentage": 25}     │
│ 2024-10-23T23:07:52.147Z    info    memorylimiter/memorylimiter.go:75    Memory limiter configured    {"kind": "processor", "name": "memory_limiter", "pipeline": "metrics", "limit_mib": 1638, "spike_limit_mib": 512, "check_interval": 5}                            │
│ 2024-10-23T23:07:52.165Z    info    service@v0.108.1/service.go:263    Starting otel-collector...    {"Version": "latest", "NumCPU": 8}                                                                                                                                 │
│ 2024-10-23T23:07:52.165Z    info    extensions/extensions.go:38    Starting extensions...                                                                                                                                                                               │
│ 2024-10-23T23:07:52.165Z    info    extensions/extensions.go:41    Extension is starting...    {"kind": "extension", "name": "health_check"}                                                                                                                            │
│ 2024-10-23T23:07:52.165Z    info    healthcheckextension@v0.108.0/healthcheckextension.go:33    Starting health_check extension    {"kind": "extension", "name": "health_check", "config": {"Endpoint":"10.244.0.59:13133","TLSSetting":null,"CORS":null,"Auth":null,"M │
│ 2024-10-23T23:07:52.165Z    info    extensions/extensions.go:58    Extension started.    {"kind": "extension", "name": "health_check"}                                                                                                                                  │
│ 2024-10-23T23:07:52.165Z    info    otlpreceiver@v0.108.1/otlp.go:103    Starting GRPC server    {"kind": "receiver", "name": "otlp", "data_type": "metrics", "endpoint": "10.244.0.59:4317"}                                                                           │
│ 2024-10-23T23:07:52.165Z    info    otlpreceiver@v0.108.1/otlp.go:153    Starting HTTP server    {"kind": "receiver", "name": "otlp", "data_type": "metrics", "endpoint": "0.0.0.0:4318"}                                                                               │
│ 2024-10-23T23:07:52.166Z    info    prometheusreceiver@v0.108.0/metrics_receiver.go:390    Starting discovery manager    {"kind": "receiver", "name": "prometheus", "data_type": "metrics"}                                                                             │
│ 2024-10-23T23:07:52.167Z    info    prometheusreceiver@v0.108.0/metrics_receiver.go:368    Scrape job added    {"kind": "receiver", "name": "prometheus", "data_type": "metrics", "jobName": "opentelemetry-collector-qryn"}                                            │
│ 2024-10-23T23:07:52.167Z    info    healthcheck/handler.go:132    Health Check state change    {"kind": "extension", "name": "health_check", "status": "ready"}                                                                                                         │
│ 2024-10-23T23:07:52.167Z    info    service@v0.108.1/service.go:289    Everything is ready. Begin running and processing data.                                                                                                                                          │
│ 2024-10-23T23:07:52.167Z    info    localhostgate/featuregate.go:63    The default endpoints for all servers in components have changed to use localhost instead of 0.0.0.0. Disable the feature gate to temporarily revert to the previous default.    {"feature gate  │
│ 2024-10-23T23:07:52.167Z    info    prometheusreceiver@v0.108.0/metrics_receiver.go:459    Starting scrape manager    {"kind": "receiver", "name": "prometheus", "data_type": "metrics"}                                                                                │
│ panic: interface conversion: interface {} is nil, not bool

Reversed back to :0.0.12 and it works.