Giter VIP home page Giter VIP logo

opentelemetry-meetup's Introduction

OpenTelemetry Frontend to Backend Demo

This repo contains the example used for the Vienna DevOps & Security meetups.

The meetup series is build around a full example of a frontend, backend composed out of a Ingress controller, Kafka and the corresponding consumer and producer

Grafana trace example

Meetups

OpenTelemetry: from frontend to backend

Slides: https://docs.google.com/presentation/d/1jPDH8Csv-Qle7Z-P7rFJgjOsBpgKeehPhjFPqTRET1Y/edit?usp=sharing

OpenTelemetry: How to debug user performance in your frontend

Slides: https://docs.google.com/presentation/d/1w1VhfGQPgCAPoT2VSB6KZlXZOXa_m5p8R-xzOzzL3hM/edit?usp=sharing

Usage

Requirements:

  • Kind ( node-image >1.16.x )
  • Helmsman
  • Docker / Buildah ( with Docker alias )

This demo deploys ingresses for *.testing.com.
To make it work you have to rewrite the DNS answers to localhost.

For Linux it has been as simple as adding this line to your network manager ( tested with Arch/Gnome )
echo "address=/testing.com/127.0.0.1" > /etc/NetworkManager/dnsmasq.d/testDomains.conf

Create Cluster

To create a kind cluster and add the kubecontext to your config run make create-kind-cluster

In case you need to create the kind cluster using root permissions execute instead sudo -E make create-kind-cluster

Prepare App images

Build and upload the resulting images to your kind cluster sudo make prepare-apps

Setup the environment

make prepare-environment will setup all applications in your cluster

opentelemetry-meetup's People

Contributors

renovate-bot avatar renovate[bot] avatar secustor avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

opentelemetry-meetup's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): update golang docker tag to v1.22.3
  • chore(deps): update helm releases (ingress-nginx, jaeger, loki, strimzi-operator, tempo, unleash)
  • fix(deps): update dependency @opentelemetry/auto-instrumentations-web to v0.39.0
  • fix(deps): update dependency @opentelemetry/plugin-react-load to ^0.30.0
  • fix(deps): update dependency axios to ^0.28.0
  • fix(deps): update dependency unleash-proxy-client to v3.3.2
  • fix(deps): update module go.uber.org/zap to v1.27.0
  • fix(deps): update opentelemetry-js monorepo (@opentelemetry/api, @opentelemetry/context-zone, @opentelemetry/core, @opentelemetry/instrumentation, @opentelemetry/propagator-jaeger, @opentelemetry/resources, @opentelemetry/sdk-trace-base, @opentelemetry/sdk-trace-web, @opentelemetry/semantic-conventions)
  • chore(deps): update helm releases (major) (jaeger, kube-prometheus, loki, unleash)
  • chore(deps): update node.js to v20
  • fix(deps): update testing-library monorepo (major) (@testing-library/jest-dom, @testing-library/react, @testing-library/user-event)
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

dockerfile
apps/report/Dockerfile
  • golang 1.21.3-alpine
apps/snapshot/Dockerfile
  • node 16.20.2-alpine
  • nginx 1.25.3-alpine
gomod
apps/report/go.mod
  • go 1.17
  • github.com/Shopify/sarama v1.32.0
  • go.opentelemetry.io/contrib/instrumentation/github.com/Shopify/sarama/otelsarama v0.31.0
  • go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.31.0
  • go.opentelemetry.io/contrib/propagators/jaeger v1.6.0
  • go.opentelemetry.io/otel v1.6.3
  • go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.6.3
  • go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.6.3
  • go.opentelemetry.io/otel/sdk v1.6.3
  • go.opentelemetry.io/otel/trace v1.6.3
  • go.uber.org/zap v1.26.0
helm-values
apps/report/helm/values.yaml
apps/snapshot/helm/values.yaml
deploy/opentelemetry/charts/opentelemetry-collector/values.yaml
deploy/unleash-proxy/values.yaml
helmsman
deploy/setup.yaml
  • kube-prometheus 52.1.0
  • ingress-nginx 4.8.3
  • loki 5.36.0
  • tempo 1.6.3
  • strimzi-operator 0.38.0
  • unleash 3.0.4
  • jaeger 0.71.17
npm
apps/snapshot/package.json
  • @opentelemetry/api 1.6.0
  • @opentelemetry/auto-instrumentations-web 0.33.2
  • @opentelemetry/context-zone 1.17.1
  • @opentelemetry/core 1.17.1
  • @opentelemetry/exporter-otlp-http ^0.26.0
  • @opentelemetry/instrumentation 0.44.0
  • @opentelemetry/plugin-react-load ^0.29.0
  • @opentelemetry/propagator-jaeger 1.17.1
  • @opentelemetry/resources 1.17.1
  • @opentelemetry/sdk-metrics-base 0.31.0
  • @opentelemetry/sdk-trace-base 1.17.1
  • @opentelemetry/sdk-trace-web 1.17.1
  • @opentelemetry/semantic-conventions 1.17.1
  • @testing-library/jest-dom ^4.2.4
  • @testing-library/react ^9.3.2
  • @testing-library/user-event ^7.1.2
  • axios ^0.27.0
  • react ^16.13.1
  • react-dom ^16.13.1
  • react-router-dom ^5.1.2
  • react-scripts 3.4.4
  • unleash-proxy-client ^3.0.0

  • Check this box to trigger a request for Renovate to run again on this repository

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.