0.0
The project is in a healthy, maintained state
Integration code for TRB PRO.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 0
>= 0.16.1, < 0.17.0
>= 0.1.0, < 0.2.0
 Project Readme

Trailblazer::Pro

A library to communicate with the TRAILBLAZER PRO platform.

  • Push local traces to us, and analyze using the online debugger.
  • Export diagrams from the PRO editor to use with the trailblazer-workflow gem.

Installation

Add this line to your application's Gemfile:

gem "trailblazer-pro"

Rails support

Check out the Rails support docs of trailblazer-pro-rails if you want to start web-debugging right away.

Trace

Retrieve you API key from https://pro.trailblazer.to/settings. It will be something like tpka_f5c698e2_d1ac_48fa_b59f_70e9ab100604.

Internals

Testing

Either run against our hosted https://test-pro-rails-jwt.onrender.com TRB PRO host, or locally. This is currently set in test/test_helper.rb.

  • test/no_extend Tests an environment where no monkey-patches happened, and if, only on anonymous classes.

Notes

  • With endpoint, monkey-patching might become obsolete, since we can inject {:present_options} transparently.