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

otel collector is not working #2016

Closed
gyliu513 opened this issue Oct 23, 2023 · 1 comment
Closed

otel collector is not working #2016

gyliu513 opened this issue Oct 23, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@gyliu513
Copy link
Member

Describe your environment Describe any aspect of your environment relevant to the problem, including your Python version, platform, version numbers of installed dependencies, information about your cloud hosting provider, etc. If you're reporting a problem with a specific version of a library in this repo, please check whether the problem has been fixed on main.

Steps to reproduce
Describe exactly how to reproduce the error. Include a code sample if applicable.

goto examples/demo, then docker compose up -d, check log of otel collector, some errors as follows:

(ycliu) guangyaliu@Guangyas-MacBook-Pro-2 langchain % docker ps
CONTAINER ID   IMAGE                                 COMMAND                  CREATED          STATUS                          PORTS                                                                                                                                      NAMES
66a6b037af73   demo-demo-client                      "/app/main"              36 minutes ago   Restarting (1) 45 seconds ago                                                                                                                                              demo-demo-client-1
6983ae7d937f   demo-demo-server                      "/app/main"              36 minutes ago   Up 36 minutes                   0.0.0.0:57153->7080/tcp                                                                                                                    demo-demo-server-1
ca5558f91e0d   otel/opentelemetry-collector:0.85.0   "/otelcol --config=/…"   36 minutes ago   Restarting (1) 25 seconds ago                                                                                                                                              demo-otel-collector-1
73dddc56a909   prom/prometheus:latest                "/bin/prometheus --c…"   36 minutes ago   Up 36 minutes                   0.0.0.0:9090->9090/tcp                                                                                                                     demo-prometheus-1
d9cb283aa1be   openzipkin/zipkin:latest              "start-zipkin"           36 minutes ago   Up 36 minutes (healthy)         9410/tcp, 0.0.0.0:9411->9411/tcp                                                                                                           demo-zipkin-all-in-one-1
57660ecb2fd8   jaegertracing/all-in-one:latest       "/go/bin/all-in-one-…"   36 minutes ago   Up 36 minutes                   4317-4318/tcp, 5775/udp, 5778/tcp, 9411/tcp, 6831-6832/udp, 0.0.0.0:16686->16686/tcp, 0.0.0.0:57149->14250/tcp, 0.0.0.0:57150->14268/tcp   demo-jaeger-all-in-one-1
56c219b92480   semitechnologies/weaviate:1.21.2      "/bin/weaviate --hos…"   13 days ago      Up 13 days                      0.0.0.0:8080->8080/tcp                                                                                                                     weav-weaviate-1
(ycliu) guangyaliu@Guangyas-MacBook-Pro-2 langchain % docker logs -f ca5558f91e0d
Error: failed to get config: cannot unmarshal the configuration: 1 error(s) decoding:

* error decoding 'exporters': unknown type: "debug" for id: "debug" (valid values: [opencensus prometheusremotewrite logging otlphttp file kafka prometheus zipkin otlp])
2023/10/23 18:22:25 collector server run finished with error: failed to get config: cannot unmarshal the configuration: 1 error(s) decoding:

* error decoding 'exporters': unknown type: "debug" for id: "debug" (valid values: [opencensus prometheusremotewrite logging otlphttp file kafka prometheus zipkin otlp])
Error: failed to get config: cannot unmarshal the configuration: 1 error(s) decoding:

* error decoding 'exporters': unknown type: "debug" for id: "debug" (valid values: [file opencensus zipkin prometheusremotewrite logging otlp otlphttp kafka prometheus])
2023/10/23 18:22:26 collector server run finished with error: failed to get config: cannot unmarshal the configuration: 1 error(s) decoding:

* error decoding 'exporters': unknown type: "debug" for id: "debug" (valid values: [file opencensus zipkin prometheusremotewrite logging otlp otlphttp kafka prometheus])
Error: failed to get config: cannot unmarshal the configuration: 1 error(s) decoding:

* error decoding 'exporters': unknown type: "debug" for id: "debug" (valid values: [otlphttp kafka opencensus prometheus zipkin logging otlp file prometheusremotewrite])
2023/10/23 18:22:27 collector server run finished with error: failed to get config: cannot unmarshal the configuration: 1 error(s) decoding:

* error decoding 'exporters': unknown type: "debug" for id: "debug" (valid values: [otlphttp kafka opencensus prometheus zipkin logging otlp file prometheusremotewrite])
Error: failed to get config: cannot unmarshal the configuration: 1 error(s) decoding:

* error decoding 'exporters': unknown type: "debug" for id: "debug" (valid values: [kafka opencensus prometheus zipkin logging file prometheusremotewrite otlp otlphttp])

What is the expected behavior?
What did you expect to see?

What is the actual behavior?
What did you see instead?

Additional context
Add any other context about the problem here.

@gyliu513 gyliu513 added the bug Something isn't working label Oct 23, 2023
@gyliu513
Copy link
Member Author

not the correct repo, opened a new issue at open-telemetry/opentelemetry-collector-contrib#28553

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant