Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kirillshevch/flow_trace

Brand new remote app inspecting tool. Declare feature steps and receive params, stack trace and whatever you want.
https://github.com/kirillshevch/flow_trace

client-server debugger http inspectcode ruby

Last synced: 28 days ago
JSON representation

Brand new remote app inspecting tool. Declare feature steps and receive params, stack trace and whatever you want.

Awesome Lists containing this project

README

        

# FlowTrace

Brand new remote app inspecting tool. Declare feature steps and receive params, stack trace and whatever you want.

* Look into what happens on you *staging* environments
* Doesn't have payloads for tests, debugging, bug fix? Get data during reproducing feature flow.


FlowTrace demo

## Installation

Add this line to your application's Gemfile and then execute `bundle install`:

```ruby
gem 'flow_trace'
```

## Usage

### 1. Configuration

Use `https` proxy (for example [ngrok](http://ngrok.io/)) to local `4567` port.

`config/initializers/flow_trace.rb`
```ruby
FlowTrace::Settings.configure do |config|
config.proxy_url = 'http://0000000.ngrok.io'
end
```

### 2. Declare remote flow

Step interface is here:

```ruby
FlowTrace::Step.call(:flow_name, :step_name, { additional: 'data' })
```

### 3. Start receive messages (locally)

```
bundle exec flow_trace
```

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/kirillshevch/flow_trace.

## License

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).