findbug 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3fa20a61fac2a31774221b97ae1ee2d440f22cca7fef93f4be78916cdec9f654
|
|
4
|
+
data.tar.gz: dee79d1e8f6ef1b2e611bb33f42182a6277f0a8c7c5443e86ee27abd992ccb0c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9d7db9d7de4e0a0e9ff768c7d92313eed9d81de2424d0dca928e56fca402980f228dd7ef832e25e378bcec182ff0612c85d49bd37ab02dbc1a86671e6ba3738e
|
|
7
|
+
data.tar.gz: deb16d95ba63c5e17aa44f6d4ad766c5192ff6009746703f327dbefb7f097fd8aa8e1d03ea73e68a2c910a13d95da7c4ce4db8c6834951241d00b3837764406e
|
data/README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
#
|
|
1
|
+
# FindBug
|
|
2
2
|
|
|
3
|
-
[](https://badge.fury.io/rb/findbug)
|
|
3
|
+
[](https://badge.fury.io/rb/findbug/install)
|
|
4
4
|
[](https://opensource.org/licenses/MIT)
|
|
5
5
|
[](https://github.com/ITSSOUMIT/findbug)
|
|
6
6
|
|
|
7
7
|
**Self-hosted error tracking and performance monitoring for Rails applications.**
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
FindBug provides Sentry-like functionality with all data stored on your own infrastructure using Redis and your database. Zero external dependencies, full data ownership.
|
|
10
10
|
|
|
11
11
|
## Features
|
|
12
12
|
|
|
@@ -19,9 +19,9 @@ Findbug provides Sentry-like functionality with all data stored on your own infr
|
|
|
19
19
|
- **Works Out of the Box** - Built-in background persister, no job scheduler required
|
|
20
20
|
- **Rails 7+ Native** - Designed for modern Rails applications
|
|
21
21
|
|
|
22
|
-
## Why
|
|
22
|
+
## Why FindBug?
|
|
23
23
|
|
|
24
|
-
| Feature | Sentry/Bugsnag |
|
|
24
|
+
| Feature | Sentry/Bugsnag | FindBug |
|
|
25
25
|
|---------|----------------|---------|
|
|
26
26
|
| Data Location | Third-party servers | Your infrastructure |
|
|
27
27
|
| Monthly Cost | $26+ per seat | Free |
|
|
@@ -56,7 +56,7 @@ rails db:migrate
|
|
|
56
56
|
|
|
57
57
|
### 1. Configure Redis (Optional)
|
|
58
58
|
|
|
59
|
-
|
|
59
|
+
FindBug uses Redis as a high-speed buffer. By default, it connects to `redis://localhost:6379/1`.
|
|
60
60
|
|
|
61
61
|
To use a different Redis URL, set the environment variable:
|
|
62
62
|
|
|
@@ -83,7 +83,7 @@ Access the dashboard at: `http://localhost:3000/findbug`
|
|
|
83
83
|
|
|
84
84
|
### 3. That's It!
|
|
85
85
|
|
|
86
|
-
|
|
86
|
+
FindBug automatically:
|
|
87
87
|
- Captures unhandled exceptions
|
|
88
88
|
- Monitors request performance
|
|
89
89
|
- Persists data to your database (via built-in background thread)
|
|
@@ -178,7 +178,7 @@ end
|
|
|
178
178
|
|
|
179
179
|
### Automatic Error Capture
|
|
180
180
|
|
|
181
|
-
|
|
181
|
+
FindBug automatically captures:
|
|
182
182
|
- Unhandled exceptions in controllers
|
|
183
183
|
- Errors reported via `Rails.error.handle` / `Rails.error.report`
|
|
184
184
|
- Any exception that bubbles up through the middleware stack
|
|
@@ -299,7 +299,7 @@ rails findbug:db:stats
|
|
|
299
299
|
|
|
300
300
|
## Advanced: Using ActiveJob Instead of Built-in Thread
|
|
301
301
|
|
|
302
|
-
By default,
|
|
302
|
+
By default, FindBug uses a built-in background thread for persistence. If you prefer to use ActiveJob with your own job backend:
|
|
303
303
|
|
|
304
304
|
```ruby
|
|
305
305
|
# config/initializers/findbug.rb
|
data/lib/findbug/version.rb
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
#
|
|
3
|
+
# FindBug Configuration
|
|
4
4
|
#
|
|
5
|
-
# This file configures
|
|
5
|
+
# This file configures FindBug, your self-hosted error and performance monitoring.
|
|
6
6
|
# See https://github.com/ITSSOUMIT/findbug for full documentation.
|
|
7
7
|
#
|
|
8
8
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: findbug
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Soumit Das
|
|
@@ -163,7 +163,7 @@ dependencies:
|
|
|
163
163
|
- - "<"
|
|
164
164
|
- !ruby/object:Gem::Version
|
|
165
165
|
version: '3.0'
|
|
166
|
-
description:
|
|
166
|
+
description: FindBug is a Sentry-like error tracking and performance monitoring gem
|
|
167
167
|
that stores data locally using Redis and your database. Features include exception
|
|
168
168
|
capture, performance instrumentation, alerting, and a built-in dashboard.
|
|
169
169
|
email:
|