rails-profiler 0.37.0 → 0.38.0
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 +12 -0
- data/app/assets/builds/profiler.js +10 -10
- data/app/controllers/profiler/api/profiles_controller.rb +10 -0
- data/lib/profiler/current_context.rb +10 -0
- data/lib/profiler/instrumentation/net_http_instrumentation.rb +20 -0
- data/lib/profiler/middleware/profiler_middleware.rb +12 -0
- data/lib/profiler/middleware/streamed_profile.rb +5 -2
- data/lib/profiler/models/profile.rb +7 -1
- data/lib/profiler/storage/base_store.rb +5 -0
- data/lib/profiler/storage/file_store.rb +25 -6
- data/lib/profiler/storage/memory_store.rb +15 -2
- data/lib/profiler/storage/redis_store.rb +23 -0
- data/lib/profiler/storage/sqlite_store.rb +20 -3
- data/lib/profiler/trace_context.rb +48 -0
- data/lib/profiler/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9b58bf97abcca532a115936ba089a63a668d8593dc7311b59d345ea3d5488a6e
|
|
4
|
+
data.tar.gz: 72144d7c3f5d434c9b61f3b700acd05a783b725fa21addd6c633174e334ce5cc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 901671364cc31c093aa9a9e5d083ab1fea68f9a1576df7b74239a3b9e6cf7003fe0e8ba4de5e6597b61f93acbc77ab85c976459793620652aab4c808ec5e5f05
|
|
7
|
+
data.tar.gz: e745e616088f23d67a9420ba5bf6ffc93eb2a0250280590417b6be451194a1d7bbc524641e206270f5d1240ffe3bb2f611d42ede6472309e3700251e8f7703b0
|
data/CHANGELOG.md
CHANGED
|
@@ -19,6 +19,18 @@ every commit of every tag interval is accounted for one way or the other.
|
|
|
19
19
|
|
|
20
20
|
## [Unreleased]
|
|
21
21
|
|
|
22
|
+
## [0.38.0] - 2026-10-19
|
|
23
|
+
|
|
24
|
+
<!-- stamped -->
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
|
|
28
|
+
- **Tracing:** a request carrying a valid W3C `traceparent` header continues that trace: the profile records its `trace_id`, a `span_id` of its own and the caller's span as `parent_span_id`. Without a header, or with an invalid one, the request starts a new trace.
|
|
29
|
+
- **Instrumentation:** an outgoing `Net::HTTP` call made while a profiled request runs carries a `traceparent` header with that request's `trace_id`, unless the application set one itself or the host is listed in `http_skip_hosts`.
|
|
30
|
+
- **Storage:** every backend answers `find_by_trace(trace_id)`; the SQLite database gains `trace_id`, `span_id` and `parent_span_id` columns on its own.
|
|
31
|
+
- **API:** `GET /_profiler/api/profiles?trace_id=...` lists the profiles sharing a trace.
|
|
32
|
+
- **Dashboard:** a `Trace` tab shows the trace, span and parent span ids of a profile and links to the other profiles of the trace.
|
|
33
|
+
|
|
22
34
|
## [0.37.0] - 2026-10-18
|
|
23
35
|
|
|
24
36
|
<!-- stamped -->
|