Skip to content

vvydier/otel-golang-meetup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

otel-golang-meetup

https://www.meetup.com/stl-go/events/293596247/

The presentation deck with all the links and instructions

https://docs.google.com/presentation/d/1kElmZfLCjW8kcn5hS2y_Xx5HWIQKkeAWIBZNDV6ILUo

Instructions to get started and follow along

Opentelemetry collector, Prometheus and Zipkin running locally as a docker images

  1. Run docker from otel-docker directory: This will start otel-collector, Zipkin and Prometheus

    # from this directory
    docker-compose up
  2. Run app

    # from the app directory
    go run .
  3. Teardown the docker images

    # from this directory
    docker-compose down

Additional instructions are at otel-docker/README.md

Add instrumentation to your App and run

Run the app with the following required environment variables

  export OTEL_EXPORTER_OTLP_ENDPOINT = "0.0.0.0:4317"
  export OTEL_SERVICE_NAME = "shipping-service"
  export OTEL_RESOURCE_ATTRIBUTES = deployment.environment=production
  go run .
  curl http://127.0.0.1:9100/shipping/11

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published