Crash reports and usage metrics for JavaScript libraries

At Bugout.dev (https://bugout.dev/) we’ve built a product that helps maintainers of APIs, libraries, and command line tools understand:

Who their users are
How exactly they use their software
What issues their users have

If you have built a develop…


This content originally appeared on DEV Community and was authored by Sophia

At Bugout.dev (https://bugout.dev/) we've built a product that helps maintainers of APIs, libraries, and command line tools understand:

  1. Who their users are
  2. How exactly they use their software
  3. What issues their users have

If you have built a developer tool and integrate with Bugout, it runs on your user's machines only with their consent. This provides you with rich information about your users. For example, operating system, CPU architecture, version of your tool they are using, and even their email in case they are having an issue and would like your help resolving it.

This week, we released the Javascript version of our usage and crash reporting library, Humbug:

GitHub logo bugout-dev / humbug

Do you build tools for developers? Get to know your users with Humbug.

humbug

Humbug helps you understand what keeps users coming back to your developer tool as well as any friction they experience.

Humbug lets you collect basic system information and crash reports while respecting your users' privacy. In addition to getting reports, you get to be GDPR-compliant from day one.

Humbug is currently available in the following programming languages:

  1. Python

    • System information report
    • Error traceback report
    • Packages available in the current Python process report
    • Logs report
    • Environment variables report
    • Custom report with full content control
  2. Go

    • System information report
    • Panic report
    • Custom report with full content control
  3. Javascript

    • System information report
    • Error traceback report

If you would like support for another programming language, please create an issue.

Using Humbug

Setup

Follow the instructions in the Getting started with usage and crash reporting guide.

From development to production

We recommend generating one token for development and testing and using different…

We currently support Node.js as the Javascript runtime, although we plan to add browser support soon.

Our package is available on npm:

npm install @bugout/humbug

If you have a tool in which you'd like to try Bugout, you can start for free by signing up for an account at https://bugout.dev.

If you need any help getting started, please leave a comment and we'll help you as soon as we can. We also appreciate any feedback.

Thank you!


This content originally appeared on DEV Community and was authored by Sophia


Print Share Comment Cite Upload Translate
APA
Sophia | Sciencx (2022-10-06T00:38:47+00:00) » Crash reports and usage metrics for JavaScript libraries. Retrieved from https://www.scien.cx/2021/04/29/crash-reports-and-usage-metrics-for-javascript-libraries/.
MLA
" » Crash reports and usage metrics for JavaScript libraries." Sophia | Sciencx - Thursday April 29, 2021, https://www.scien.cx/2021/04/29/crash-reports-and-usage-metrics-for-javascript-libraries/
HARVARD
Sophia | Sciencx Thursday April 29, 2021 » Crash reports and usage metrics for JavaScript libraries., viewed 2022-10-06T00:38:47+00:00,<https://www.scien.cx/2021/04/29/crash-reports-and-usage-metrics-for-javascript-libraries/>
VANCOUVER
Sophia | Sciencx - » Crash reports and usage metrics for JavaScript libraries. [Internet]. [Accessed 2022-10-06T00:38:47+00:00]. Available from: https://www.scien.cx/2021/04/29/crash-reports-and-usage-metrics-for-javascript-libraries/
CHICAGO
" » Crash reports and usage metrics for JavaScript libraries." Sophia | Sciencx - Accessed 2022-10-06T00:38:47+00:00. https://www.scien.cx/2021/04/29/crash-reports-and-usage-metrics-for-javascript-libraries/
IEEE
" » Crash reports and usage metrics for JavaScript libraries." Sophia | Sciencx [Online]. Available: https://www.scien.cx/2021/04/29/crash-reports-and-usage-metrics-for-javascript-libraries/. [Accessed: 2022-10-06T00:38:47+00:00]
rf:citation
» Crash reports and usage metrics for JavaScript libraries | Sophia | Sciencx | https://www.scien.cx/2021/04/29/crash-reports-and-usage-metrics-for-javascript-libraries/ | 2022-10-06T00:38:47+00:00
https://github.com/addpipe/simple-recorderjs-demo