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

https://github.com/scrive/elm-trackjs


https://github.com/scrive/elm-trackjs

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# elm-trackjs ![CI](https://github.com/scrive/elm-trackjs/workflows/CI/badge.svg?branch=master)

**Work in Progress:** This project is a fork of `elm-rollbar`, with the
intention of adapting it to work with TrackJS.

TODOs:
- [x] Add example implementation (will also function as a live test)
- [x] Test that it works!
- [x] Add optional `Context` to include useful things
- [x] Get rid of console and levels: does not seem very useful for TrackJS
- [x] Add `Scope` to include `url` and "stack trace", anything else?
- [x] Figure out what to include in `customer` data, in particular, the various `id`s
- [x] Add test for version staying in sync
- [ ] Finish and check documentation
- [ ] Publish!

Possible extra features not currently implemented:
- Explore how maximum payload size and HTTP 413 response can be handled
(without encumbering the API).
An idea would be to trim values to a fixed "long enough" length for each
field, compute how much of the 100 kB we have left, and then trim rest of
stackTrace.
- Optional `console` events
- Optional `network` telemetry information