Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

crevalle-pulse

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crevalle-pulse

  • 0.1.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Pulse

An easy way to send heartbeats to https://pulse.crevalle.io. Makes asynchronous POST requests to the Heartbeat of your choice.

Installation

Add this line to your application's Gemfile:

gem 'crevalle-pulse'

And then execute:

$ bundle

Or install it yourself as:

$ gem install crevalle-pulse

Usage

Drop in your api key:

# config/initializers/pulse.rb

Crevalle::Pulse.config.api_key = 'your-api-uuid'

You're ready to send heartbeats! Anywhere in your code, such as when a user signs up, call

Crevalle::Pulse.beat 'myapp.user-signup'

to send a beat to the Pulse server. This request runs in a separate thread, so you can drop the notification into your normal codepaths without worrying about performance.

Testing

You probably don't want bunches of heartbeats sent while you're running tests. To disable beat sending, put the following in your spec_helper.rb:

Crevalle::Pulse.config.disabled = true

© 2015 Crevalle Technologies, LLC

FAQs

Package last updated on 01 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc