Skip to content

An example implementation of OpenTelemetry for observability using nodejs with honojs. It demonstrates various features such as tracking, metrics and logging.

License

Notifications You must be signed in to change notification settings

fajarnugraha37/opentelemetry-demo

Repository files navigation

OpenTelemetry Demo

Welcome to the OpenTelemetry Demo repository! This project demonstrates how to implement OpenTelemetry for observability using nodejs with honojs. It showcases various features such as tracing, metrics, and logging.

Table of Contents

Features

  • Distributed Tracing : grafana tracing
  • Metrics Collection : grafana metrics
  • Logging Integration : grafana logging
  • Load Testing : k6 load testing

Hosts

Getting Started

To get started with this demo, follow these steps:

  1. Clone the repository:
    git clone https://github.com/fajarnugraha37/opentelemetry-demo.git
    cd opentelemetry-demo
  2. To run the demo application, execute the following command:
    docker compose up
  3. For usage, there is a postman collection for the api exposed here demo.postman_collection.json Or you can use k6 for load testing by using the command below and details of the available tests can be read here README.md:
    k6 run .\load\k6\index.js 

Contributing

Contributions are welcome! Please read our CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details. For more information on OpenTelemetry, check out the official OpenTelemetry documentation. Feel free to modify any sections or add specific details related to your project that may not be covered.

About

An example implementation of OpenTelemetry for observability using nodejs with honojs. It demonstrates various features such as tracking, metrics and logging.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published