Giter Site home page Giter Site logo

signoz / mevn-opentelemetry-example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from saideepesh000/mevn-opentelemetry-example

0.0 1.0 2.0 1.63 MB

This repo contains the code for a sample application built using MEVN stack. It demonstrates how to use OpenTelemetry and SigNoz to monitor a full-stack application.

Shell 0.16% JavaScript 65.14% HTML 6.16% Vue 28.54%

mevn-opentelemetry-example's Introduction

mevn-opentelemetry-example

Installing packages

Clone the repo locally & follow these steps

Server:

Get into /server folder & install packages

cd server
npm i

Client:

Get into /client folder & install packages

cd client
npm i

Running the application

Get into the server folder.

cd server

Before running the server, create a MongoDB connection and get the mongodb_uri. Set the MONGO_URI & PORT in .env (check .env.exmaple for reference) Finally, run the following command to start both server and client

npm run dev

Run the following commands to set these env variables

export OTEL_EXPORTER_OTLP_ENDPOINT="http://localhost:4318"
export OTEL_RESOURCE_ATTRIBUTES=service.name=mevn-signoz

mevn-opentelemetry-example's People

Contributors

ankit01-oss avatar makeavish avatar saideepesh000 avatar

Watchers

 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.