GithubHelp home page GithubHelp logo

opentelemetry-wavefront-nodejs's Introduction

Opentelemetry tracing to Wavefront Proxy!

simple tracing to wavefront in your node application with Opentelemetry.

Objective

This repository will show you how to trace your Node.js app to Wavefront (Longboard VMware).

Get started with Node.js & Docker

You need to know about the following important things:

  1. Express.js: Express.js is a popular web application framework for Node.js. It provides a robust set of features and tools for building web applications and APIs. It simplifies the process of creating server-side applications and handling HTTP requests and responses.

  2. Docker: Docker is an open-source platform that allows you to automate the deployment, scaling, and management of applications using containerization. Containers are lightweight, isolated environments that contain all the necessary dependencies and libraries for running an application. Docker enables consistent and efficient application deployment across different environments.

  3. @opentelemetry modules: @opentelemetry modules refer to a collection of open-source modules and tools for implementing observability in applications. OpenTelemetry is a vendor-agnostic framework used for instrumenting, generating, collecting, and exporting telemetry data (such as traces and metrics) from applications. These modules provide integration with various frameworks, libraries, and platforms to enable distributed tracing and monitoring capabilities.

Configuration

  1. docker-compose.yaml
  2. otel-collector-config.yaml

Important Please make sense of these files and look at each file or folder to this repository.

Tracing your app with NodeTracerProvider

npm install
docker-compose up --build

Tracing your app with NodeSDK

  1. replace package.json script start to
  • "scripts": { "start": "node -r ./tracing7.js app.js", }
  1. delete or comment line 1 in file app.js
  • // const tracer = require("./tracing")("hello-world-service");

npm install
docker-compose up --build

Reference

main concept for this repository: https://github.com/obs-nebula/frontend-react

OpenTelemetry SDK: https://open-telemetry.github.io/opentelemetry-js/

OpenTelemetry: https://opentelemetry.io

opentelemetry-wavefront-nodejs's People

Contributors

devmesorachak avatar

Watchers

Sorrachak Kaewhom 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.