Coder Social home page Coder Social logo

thewoolleyman / honeycomb-react-rails-fullstack-tracing Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 186 KB

Example of full-stack tracing of an app with a React frontend client and Rails backend, using https://www.honeycomb.io.

License: The Unlicense

Ruby 70.25% JavaScript 12.73% CSS 3.74% HTML 12.89% CoffeeScript 0.40%
observability honeycomb rails react

honeycomb-react-rails-fullstack-tracing's Introduction

honeycomb-react-rails-fullstack-tracing

Example of full-stack tracing of an app with a React frontend client and Rails backend, using https://www.honeycomb.io.

It is a simple TODO list app with a single form and model.

The home (index) page has a React Single Page App embedded to create TODOs, which will emit full-stack client tracing events when the page is loaded (React actions other than index do not yet have tracing implemented.)

Below is a screenshot example of a full-stack trace in the Honeycomb UI.

Calculating the proper client timestamp offset in the context of server latency is tricky, as you can see by the misalignment of the client parent span. I'm sure my attempt can be improved, issues or PR's welcome!

trace-screenshot

honeycomb-react-rails-fullstack-tracing's People

Contributors

thewoolleyman avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

honeycomb-react-rails-fullstack-tracing's Issues

Missing License

Hi @thewoolleyman, would it be possible to add the MIT licenses to this repo? I need to do something very similar to what this sample app shows and would love to adapt some of the code. With no license set I don't think I'm legally allowed to do that. Thanks in advance! - Brian Sadler

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.