-
Notifications
You must be signed in to change notification settings - Fork 241
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
Collector container showing error about unable to resolve host or service. #585
Comments
Further logs: The collector container is failing to start with below error: 021-07-21T02:57:32.059Z info service/collector.go:262 Starting aws-otel-collector... {"Version": "v0.11.0", "NumCPU": 4} Where do I need to put this file /etc/otel-agent-config.yaml? |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days. |
This issue was closed because it has been marked as stall for 30 days with no activity. |
[opentelemetry.auto.trace 2021-07-21 03:15:03:532 +0000] [main] INFO io.opentelemetry.javaagent.tooling.TracerInstaller - Installed span exporter: io.opentelemetry.exporter.otlp.OtlpGrpcSpanExporter
[opentelemetry.auto.trace 2021-07-21 03:15:03:547 +0000] [main] INFO io.opentelemetry.javaagent.tooling.TracerInstaller - Installed metric exporter: io.opentelemetry.exporter.otlp.OtlpGrpcMetricExporter
[opentelemetry.auto.trace 2021-07-21 03:15:03:572 +0000] [main] INFO io.opentelemetry.javaagent.tooling.PropagatorsInitializer - Added xray propagator
[opentelemetry.auto.trace 2021-07-21 03:15:03:572 +0000] [main] INFO io.opentelemetry.javaagent.tooling.PropagatorsInitializer - Added tracecontext propagator
[opentelemetry.auto.trace 2021-07-21 03:15:03:572 +0000] [main] INFO io.opentelemetry.javaagent.tooling.PropagatorsInitializer - Added b3 propagator
[opentelemetry.auto.trace 2021-07-21 03:15:03:572 +0000] [main] INFO io.opentelemetry.javaagent.tooling.PropagatorsInitializer - Added b3multi propagator
[opentelemetry.auto.trace 2021-07-21 03:15:03:587 +0000] [main] INFO io.opentelemetry.javaagent.tooling.VersionLogger - opentelemetry-javaagent - version: 0.12.1-aws.1
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[opentelemetry.auto.trace 2021-07-21 03:15:04:822 +0000] [grpc-default-executor-0] WARN io.grpc.internal.ManagedChannelImpl - [Channel<3>: (aws-ot-collector:4317)] Failed to resolve name. status=Status{code=UNAVAILABLE, description=Unable to resolve host aws-ot-collector, cause=java.lang.RuntimeException: java.net.UnknownHostException: aws-ot-collector: Name or service not known
at io.grpc.internal.DnsNameResolver.resolveAddresses(DnsNameResolver.java:223)
at io.grpc.internal.DnsNameResolver.doResolve(DnsNameResolver.java:282)
at io.grpc.internal.DnsNameResolver$Resolve.run(DnsNameResolver.java:318)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.net.UnknownHostException: aws-ot-collector: Name or service not known
The text was updated successfully, but these errors were encountered: