Skip to content

The go programm in otel-collector example not working #2229

@koktlzz

Description

@koktlzz

Description

I use the example go programm to generdate trace data, but it does noting. Here is the output:

[root@gwr-k8s-04 otel-collector]# go run main.go 
2021/09/09 01:11:13 Waiting for connection...

Environment

  • OS: CentOS Linux release 7.9.2009 (Core)
  • Architecture: x86_64
  • Go Version: 1.15.15
  • Opentelemetry-collector Image Version: 0.6.0

Steps To Reproduce

I follow the document to configure and run the program.

Expected behavior

The output should contain logs such as "Doing really hard work".

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Closed

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions