Skip to content

adventuring/rollbar.lisp

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

Rollbar.com is a service for collecting automated telemetry (ie, bug reports, mostly) through their web service.

This package is a completely independent attempt to re-implement their general “per-language” APIs in such a way as to be useful for Common Lisp programs. It is not particularly “authorized” and definitely not “supported” by Rollbar, but they have kindly added it to their list of third-party libraries, so it's not unknown to them.

Automatic telemetry

In general, you should be able to establish a dynamic extent in which Rollbar is your effective “debugger” and have conditions reported to the servers without much additional tooling on your part.

  (rollbar:with-configuration
    (:access-token "…"
     :environment "development"
     :code-version "v1.0"
     :framework "my-cool-framework"
     :server (machine-instance))
    (rollbar:with-rollbar-for-debugger ()
       (main)))

See also rollbar:classify-error-level to customize how conditions are classified.

“Manual” telemetry

See: rollbar:notify for the general case, or rollbar:debug!, info!, warning!, error!, and critical! to skip right to various levels.

(rollbar:notify :info "Hello, World")
  
(handler-case
    (error "I'm so sad")
  (error (condition)
    (rollbar:error! "Good-bye, Cruel World"
                    :condition condition)))

About

Rollbar.com interface for Common Lisp

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published