Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pipeline "traces" references processor batch which does not exist #23

Closed
jjangga0214 opened this issue Dec 26, 2020 · 3 comments
Closed
Labels
bug Something isn't working chart:collector Issue related to opentelemetry-collector helm chart Stale

Comments

@jjangga0214
Copy link

How it behaves

Processor is not defined.

How it should behave

Processor should be defined.

Reproduction

Configuration

config:
  receivers:
    otlp:
      protocols:
        grpc:
          endpoint: 0.0.0.0:4317
  processors:
    batch:
    memory_limiter:
      ballast_size_mib: 70
      check_interval: 5s
      limit_mib: 170
      spike_limit_mib: 20
  exporters:
    jaeger:
      endpoint: jaeger-collector:14250
  service:
    pipelines:
      traces:
        receivers: [otlp]
        processors: [memory_limiter, batch]
        exporters: [jaeger]

Error

➜  capa-viewer git:(ops/tracing) ✗ (☸ |kind-kind:operations) kubectl get pod               
NAME                                                        READY   STATUS             RESTARTS   AGE
opentelemetry-collector-agent-8kzwp                         1/2     CrashLoopBackOff   6          9m27s

➜  capa-viewer git:(ops/tracing) ✗ (☸ |kind-kind:operations) kubectl logs opentelemetry-collector-agent-8kzwp opentelemetry-collector 
{"level":"info","ts":1608967307.530805,"caller":"service/service.go:396","msg":"Starting OpenTelemetry Collector...","Version":"latest","GitHash":"a85c7a2d","NumCPU":4}
{"level":"info","ts":1608967307.5512323,"caller":"service/service.go:577","msg":"Using memory ballast","MiBs":204}
{"level":"info","ts":1608967307.551373,"caller":"service/service.go:240","msg":"Setting up own telemetry..."}
{"level":"info","ts":1608967307.6330154,"caller":"service/telemetry.go:108","msg":"Serving Prometheus metrics","address":"0.0.0.0:8888","legacy_metrics":false,"new_metrics":true,"level":0,"service.instance.id":"0cc8ea06-3312-48d1-9328-677ea81065c9"}
{"level":"info","ts":1608967307.635118,"caller":"service/service.go:277","msg":"Loading configuration..."}
Error: cannot load configuration: pipeline "traces" references processor batch which does not exist
2020/12/26 07:21:47 application run finished with error: cannot load configuration: pipeline "traces" references processor batch which does not exist
@naseemkullah naseemkullah added the bug Something isn't working label Jan 24, 2021
@mars64
Copy link

mars64 commented Sep 1, 2021

fwiw, I am successfully using batch via:

config:
  processors:
    batch: {}

Chart version 0.5.10
Image otel/opentelemetry-collector-contrib:0.22.0

@dmitryax dmitryax added the chart:collector Issue related to opentelemetry-collector helm chart label Mar 4, 2022
hxtpoe added a commit to hxtpoe/opentelemetry-collector-contrib that referenced this issue Aug 10, 2022
pipeline  references processor batch which does not exist
open-telemetry/opentelemetry-helm-charts#23 (comment) 

`{}` should be used instead of ` `
@dmitryax
Copy link
Member

dmitryax commented Aug 13, 2022

You have to use {} in the helm when overriding the default values.yaml. Helm uses null values to remove the keys, so you cannot set null values in your values.yaml.

@dmitryax dmitryax reopened this Aug 13, 2022
@dmitryax
Copy link
Member

I understand it's not clear. @hxtpoe feel free to submit a PR in this repo to make sure it's explained somewhere in the helm chart docs

matej-g added a commit to matej-g/opentelemetry-helm-charts that referenced this issue Oct 4, 2023
* Use image from values config

Signed-off-by: Matej Gera <[email protected]>

* Bump chart and regenerate examples

Signed-off-by: Matej Gera <[email protected]>

---------

Signed-off-by: Matej Gera <[email protected]>
@github-actions github-actions bot added the Stale label Aug 13, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working chart:collector Issue related to opentelemetry-collector helm chart Stale
Projects
None yet
Development

No branches or pull requests

4 participants