https://github.com/scrive/elm-trackjs
https://github.com/scrive/elm-trackjs
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/scrive/elm-trackjs
- Owner: scrive
- License: bsd-3-clause
- Created: 2020-06-22T16:57:57.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-27T17:12:15.000Z (over 2 years ago)
- Last Synced: 2025-01-06T10:26:56.144Z (over 1 year ago)
- Language: Elm
- Size: 56.6 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# elm-trackjs 
**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