-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Motivation
I think this would be great for monitoring apps and finding / understanding bugs throughout the full stack on a live production server.
Requested Feature
It would be useful if we could log errors and other events from both the front and the back end.
Example (frontend):
try {
foo()
} catch (e) {
// handle error
logger.log({
error: e,
description: 'something something failed when something',
//...
})
}The logger on the frontend would have to send logged events to the back end with http requests. On the back end all logged events would have to be persisted.
Now even though the error was handled, we could use the logging solution to show us all logged events (of both the front and back end) during a specified time frame and filter for certain keywords.
Monitoring Solutions
| Solution | Pros | Cons |
|---|---|---|
| custom solution | good labs project? | |
| rails-client-logger | ? | not maintained |
| Elastic APM | we've used it before | can be a lot of work to set up ELK |
| Prometheus | ||
| Airbrake React Integration | we've used it before (Rails only) |
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request