flands / otel-workshop-strangeloop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenTelemetry Workshop for StrangeLoop 2021

Hello and welcome to the OpenTelemetry Workshop! Here you will learn how to:

  • Automatically instrumenting an application written in Java, Python, Node, or Go.
  • Send span data to an APM tool like Jaeger.
  • Processing data including CRUD metadata operations via the OpenTelemetry Collector.
  • Collecting host metrics and sending the data to a metrics tool like Prometheus.
  • Ensure your telemetry data adheres to open-standards and remains vendor-agnostic.

Prerequisites

  • Docker with docker-compose

Optionally, it would be good to review OpenTelemetry concepts.

Getting Started

cd docker
docker-compose up --build
  • Java is listening outside docker on 8080.
  • Python is listening outside docker on 5000.
  • Node is listening outside docker on 3000.
  • Go is listening outside docker on 7070.

Exercise the API:

curl -i localhost:3000/hello
curl -i localhost:8080/hello/proxy/python/node/java

Other included components:

  • Once instrumented with OpenTelemetry, view traces in Jaeger: http://localhost:16686.
  • An OpenTelemetry Collector is available and can receive data via:
    • Jaeger inside docker on 14250 and 14268
    • OTLP inside docker on 4317 and 4318
    • Zipkin inside/outside docker on 9411
  • A Prometheus server which receives OpenTelemetry Collector metrics is available at http://localhost:9090.

Labs

About


Languages

Language:Java 31.9%Language:Go 26.5%Language:JavaScript 18.4%Language:Dockerfile 13.4%Language:Python 9.8%