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

Demo example #2303

Closed
glazychev-art opened this issue Dec 18, 2020 · 1 comment
Closed

Demo example #2303

glazychev-art opened this issue Dec 18, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@glazychev-art
Copy link

Describe the bug
No data from metrics-load-generator

Steps to reproduce
docker-compose up -d from examples/demo

What did you expect to see?
New metrics (request_latency, request_counts...) at http://0.0.0.0:9090 (Prometheus).

What did you see instead?
If we look at logs, we can see that there are problems:

$ docker logs demo_metrics-load-generator_1
#0: LineLength: 97By
#1: LineLength: 3By
#2: LineLength: 800By
#3: LineLength: 86By
Latency: 6204.225ms
2020/12/18 12:30:22 rpc error: code = Unimplemented desc = unknown service opentelemetry.proto.collector.metrics.v1.MetricsService
#0: LineLength: 972By
#1: LineLength: 267By
#2: LineLength: 18By
#3: LineLength: 749By
Latency: 2377.241ms
#0: LineLength: 576By
#1: LineLength: 382By
#2: LineLength: 645By
#3: LineLength: 570By
#4: LineLength: 927By
#5: LineLength: 96By
Latency: 84.228ms
#0: LineLength: 836By
#1: LineLength: 975By
#2: LineLength: 591By
#3: LineLength: 305By
#4: LineLength: 958By
#5: LineLength: 249By
Latency: 26.179ms
Latency: 36.312ms
#0: LineLength: 185By
#1: LineLength: 70By
#2: LineLength: 497By
Latency: 427.285ms
2020/12/18 12:30:25 rpc error: code = Unimplemented desc = unknown service opentelemetry.proto.collector.trace.v1.TraceService
#0: LineLength: 363By
#1: LineLength: 528By
#2: LineLength: 703By
#3: LineLength: 398By
#4: LineLength: 200By
Latency: 1117.132ms
2020/12/18 12:30:29 rpc error: code = Unimplemented desc = unknown service opentelemetry.proto.collector.metrics.v1.MetricsService
2020/12/18 12:30:30 rpc error: code = Unimplemented desc = unknown service opentelemetry.proto.collector.trace.v1.TraceService
#0: LineLength: 873By
Latency: 4823.216ms
2020/12/18 12:30:36 exporter disconnected

What version did you use?
Version: default (from test)

What config did you use?
golang 1.15 for metrics-load-generator (there is problem with 1.12.7):

  metrics-load-generator:
    image: golang:1.15
...

Environment
OS: (e.g., "Ubuntu 20.04")

Additional context
Could you please explain me how to run demo example? Thank you!

@glazychev-art glazychev-art added the bug Something isn't working label Dec 18, 2020
@glazychev-art
Copy link
Author

It was needed to update the config file otel-agent-config.yaml.
Need to add otlp to receivers section.

hughesjj pushed a commit to hughesjj/opentelemetry-collector that referenced this issue Apr 27, 2023
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