alacrity-rails 0.10.2 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/alacrity-rails/client.rb +0 -2
- data/lib/alacrity-rails/transaction/web_transaction.rb +12 -11
- data/lib/alacrity-rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7de4111ca3d48f3ed4cb9e30221c107f226d2bfb
|
4
|
+
data.tar.gz: 10afa26f0dd1242da44dc4fd1233ecfa061b41f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37e057d9025ae6cf31ce3424788c3c5b55b0b540cc38c51246caa6ae6b055a0e5e94b8a4b4369632520b744d75d7977167068e28a59a865f1509719d1ca2a424
|
7
|
+
data.tar.gz: 29235ae28954ee446ce111a8cde6831a94b62a76583f97ea10fba6738b4f486d667ac9a547fb9e207293c6a63b447fbada98df0665884e82412a0da43bc13a92
|
@@ -24,22 +24,23 @@ module AlacrityRails::Transaction
|
|
24
24
|
middleware_finished_at = absolute_time(@middleware_finished_at) || absolute_time(DateTime.now)
|
25
25
|
{
|
26
26
|
environment: AlacrityRails::ServerConfig.environment,
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
middleware_elapsed: middleware_finished_at - middleware_started_at,
|
31
|
-
middleware_started_at: middleware_started_at,
|
32
|
-
middleware_finished_at: middleware_finished_at,
|
33
|
-
format: format,
|
34
|
-
method: method,
|
35
|
-
status: status,
|
27
|
+
event_type: 'web-request',
|
28
|
+
started_at: middleware_started_at,
|
29
|
+
finished_at: middleware_finished_at,
|
36
30
|
timeline_events: prepared_timeline_events,
|
37
|
-
|
31
|
+
data: {
|
32
|
+
url: url,
|
33
|
+
controller: controller,
|
34
|
+
action: action,
|
35
|
+
format: format,
|
36
|
+
method: method,
|
37
|
+
status: status,
|
38
|
+
}
|
38
39
|
}
|
39
40
|
end
|
40
41
|
|
41
42
|
def self.endpoint
|
42
|
-
@endpoint ||= URI("#{AlacrityRails::Config.collector_host}/
|
43
|
+
@endpoint ||= URI("#{AlacrityRails::Config.collector_host}/v2/events")
|
43
44
|
end
|
44
45
|
end
|
45
46
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alacrity-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alacrity, LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-02-
|
11
|
+
date: 2018-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|