Skip to content

gauner1986/opentelemetry-training

 
 

Repository files navigation

Getting Started with OpenTelemetry

This repository offers a getting started guide for OpenTelemetry, the framework for vendor-neutral telemetry data collection.

Open in GitHub Codespaces Open in Gitpod

How to use this repo

This repository consists of two main parts - the tutorial and the hands-on labs. In the tutorial everything you need to know on how to use OpenTelemetry for the labs will get explained. The labs give a hands-on experience on how to use OpenTelemetry in your applications.

The repository utilizes VS Code Dev Containers. In order to use this repo you either need to

With GitHub Codespaces a VS Instance in your browser will be opened automatically

The Dev Container spec will automatically open the labs part with a fully fledged and configured IDE and expose the tutorial on a port to your local system.

How to navigate around the IDE

GitHub Codespaces and Gitpod will automatically run the devcontainer.json and are immediately ready to go. When using this repo with a locally installed VS Code instance you will be greeted by a prompt in the bottom right corner. Prompt to open the repo inside a Dev container

Press Reopen in Container to allow VS Code to use the devcontainer.json specification to set up the IDE. If you missed the prompt hit Ctrl + Shift + P (on Mac Command + Shift + P) and type Dev Containers: Rebuild and Reopen in Container.

After that the devcontainer spec will run the docker-compose.yml and pull all needed dependencies and build the Docker Image for the application in which we will work on the lab content. To pull all Images and build all containers can take a second, so be patient.

If the terminal is not visible open it under View/Terminal Open the terminal

When you run an application that exposes a port, VS Code will notify you that it is accessible. To open the application just click Open in Browser or open your Browser manually and type the URL yourself. Open the browser

When you missed the prompt you can see the open ports in the PORTS tab. Where to find the forwarded ports

You can at all times use the terminal to run applications and docker images. But you can also use the tab Terminal/Run Task Tasks which will open a terminal and run the needed command automatically. For some labs you need to run two tasks, which will be explained in the respective lab.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 62.3%
  • Java 12.2%
  • HTML 10.0%
  • CSS 8.5%
  • Dockerfile 6.4%
  • Shell 0.6%