Git Product home page Git Product logo

otel-strangeloop-workshop's Introduction

OpenTelemetry Workshop for StrangeLoop 2021

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

  • Automatically instrumenting an application written in Go, Java, Node, or Python with spans and sending the 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 OpenTelemety concepts.

Getting Started

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

Exercise the API:

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

Once instrumented for OpenTelemetry, view traces in Jaeger: http://localhost:16686. Also note that 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

  • Lab 101: Complete one or more of the following
    • Instrument a Go application
    • Instrument a Java application
    • Instrument a NodeJS application
    • Instrument a Python application
  • Lab 102: Reconfigure applications to leverage the OpenTelemetry Collector
  • Lab 201: Processing trace data with the OpenTelemetry Collector
  • Lab 202: Collecting and processing metric data with the OpenTelemetry Collector
  • Lab 203: Collecting and processing log data with the OpenTelemetry Collector

otel-strangeloop-workshop's People

Contributors

flands avatar mralias avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.