Skip to content

worldline-go/telemetry_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenTelemetry Example

OpenTelemetry good to send send trace and metric data to different platform.

Name URL
grafana http://localhost:3000
jaeger http://localhost:16686
zipkin http://localhost:9411
cadvisor http://localhost:9091
prometheus http://localhost:9090
otel-collector http://localhost:8889/metrics
example http://localhost:8080/api/v1/swagger/

Quick Start

Initialize compose-file

make env

After that run this example program, run command set the otel env variables to open telemetry connection in code.

make docs run

Run without opentelemetry

make run-without
Details

Go to localhost 3000 for grafana and login with admin:admin.

Add first datasource to show our promethues URL (9090).

Click dashboard and show custom metrics in there.

For testing import cadvisor's dashboard 14282 and select prometheus.

In prometheus go to status -> targets to check tartgets health.

Metric / Trace

Check the https://github.com/worldline-go/tell

Releases

No releases published

Packages

No packages published