Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Just a basic demonstration of something I actually got working using OpenTelemetry (gRPC/HTTP).

Notifications You must be signed in to change notification settings

mikaelvesavuori/opentelemetry-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimal example of sending data with OpenTelemetry to Honeycomb using Typescript

Just a basic demonstration of something I actually got working using OpenTelemetry (gRPC/HTTP).

This project should give you an idea why I made MikroTrace.

The project demonstrates the use of tracing: First making an overall span, then making child spans for calling the Star Wars API and then waiting for 250ms. Trivial, but enough to get the point across.

Prerequisites

  • You have a Honeycomb account
  • You have a Honeycomb API key and a service name
  • You have placed these in src/config.ts

Instructions

Install with npm install or yarn install. Then run npm start or yarn run to start the project.

Toggle gRPC or HTTP implementation in src/index.ts under the provider import.

References

About

Just a basic demonstration of something I actually got working using OpenTelemetry (gRPC/HTTP).

Topics

Resources

Stars

Watchers

Forks