Skip to content

Bramjetten/robodash-gem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Robodash

This is a Ruby gem to easily send pings to Robodash.

gem 'robodash'
Robodash.api_token = # your dashboard API token

# Pinging
Robodash.ping("Some bg job")

# Counting things
Robodash.count("Something to track", 10)

# Tracking measurements
Robodash.measure("Puma Backlog", Puma.stats_hash[:backlog])

Puma plugin

Report measurements from Puma to Robodash:

# config/puma.rb

extra_runtime_depedencies "robodash"
plugin :robodash

# Set the Robodash api_token specifically for the Puma process.
# You can use ENV.fetch("ROBODASH_API_TOKEN") if you prefer.
::Robodash.api_token = "..."

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages