forge_ops_tracker 0.19.0 → 0.19.1
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 +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +2 -0
- data/lib/forge_ops_tracker/query_explainer.rb +2 -1
- data/lib/forge_ops_tracker/version.rb +1 -1
- metadata +3 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a07d319688ef560a28c82ff70a822a2a171d1fe9d4c47973d51093e528e548e2
|
|
4
|
+
data.tar.gz: 6272b6ee64197d04a056a7d34ac4fe5de069be87dea1992f32d30700164ab95a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dfe88a94c2008f6ee5af0f47581322647a90253d4d25a2a768e6bfb6bfd759766c15c81315ffb4b030dfd593f893a924ec8c6b7b4be71ad77ff825086c1fc998
|
|
7
|
+
data.tar.gz: 6f087c6828f7a8d45d895d9e26749337dd6683247021187b89281065c5d10e838eb9de985a3fc15aaac2b9a023eceefbc3e7a50878738f13e318bba55390e77e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.19.1 (2026-10-22)
|
|
4
|
+
|
|
5
|
+
- Strict privacy now also turns off slow query plans (`explain_slow_queries`): no EXPLAIN is run and no
|
|
6
|
+
plan is sent, since a plan carries the SQL. Before, a plan could still be sent, with its values masked.
|
|
7
|
+
- The README says what strict privacy does in its opening lines.
|
|
8
|
+
- The source is public at https://github.com/Luke-Popwell/forge-ops-tracker-ruby, and the package links to it.
|
|
9
|
+
|
|
3
10
|
## 0.19.0 (2026-10-20)
|
|
4
11
|
|
|
5
12
|
- Strict privacy: a raw request path now keeps only its first segment, and the rest is sent as
|
data/README.md
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
Exception reporting client for [ForgeOps](https://getforgeops.net), for Rails, plain Rack and
|
|
4
4
|
Sinatra apps, and scripts.
|
|
5
5
|
|
|
6
|
+
> For health or personal data, turn on [strict privacy](#strict-privacy): the SDK then sends only structured facts about each error (its type, stack trace, release and route), never the message, a raw path, breadcrumbs, or context you haven't allowed.
|
|
7
|
+
|
|
6
8
|
## Installation
|
|
7
9
|
|
|
8
10
|
```ruby
|
|
@@ -98,7 +98,8 @@ module ForgeOpsTracker
|
|
|
98
98
|
# checks first, so a fast query costs one comparison. Returns true only when an EXPLAIN was
|
|
99
99
|
# queued; never raises.
|
|
100
100
|
def consider(payload, duration_ms:)
|
|
101
|
-
|
|
101
|
+
# Strict privacy sends no SQL at all, masked or not (sdks/STRICT_PRIVACY.md).
|
|
102
|
+
return false unless configuration.explain_slow_queries && !configuration.strict_privacy
|
|
102
103
|
return false unless duration_ms && duration_ms >= configuration.explain_threshold_ms.to_f
|
|
103
104
|
|
|
104
105
|
connection = payload[:connection]
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: forge_ops_tracker
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.19.
|
|
4
|
+
version: 0.19.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ForgeOps
|
|
@@ -147,6 +147,8 @@ licenses:
|
|
|
147
147
|
metadata:
|
|
148
148
|
homepage_uri: https://getforgeops.net
|
|
149
149
|
rubygems_mfa_required: 'true'
|
|
150
|
+
source_code_uri: https://github.com/Luke-Popwell/forge-ops-tracker-ruby
|
|
151
|
+
changelog_uri: https://github.com/Luke-Popwell/forge-ops-tracker-ruby/blob/main/CHANGELOG.md
|
|
150
152
|
rdoc_options: []
|
|
151
153
|
require_paths:
|
|
152
154
|
- lib
|