azure_application_insights 0.5.8 → 0.5.12
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 001b747312afea9b241757fd108baadba368df8db7290158dcc88e7c31516a91
|
4
|
+
data.tar.gz: 7e7d32883fe23c4f220e671e4f86ecf83a34627a777c0966302737daca1f189b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45f9765ddc3c7a8efd307541f4fed1c54ec07be97a23070baaaba4e807c8a51bdd9ef7122ddee1c8defa6630bbb1d30bb8cd4e6459c66115c3b285f104293fbf
|
7
|
+
data.tar.gz: 8eb429f701c819c92059521a03025d739b7b20751431dbe38d3ccac559d1723747b5b54922a54395b002f11e8791b240c191ad87677e54e3f65295b3fe178ed2
|
data/README.md
CHANGED
@@ -143,7 +143,7 @@ raise Exception, 'Boom!'
|
|
143
143
|
require 'azure_application_insights'
|
144
144
|
use AzureApplicationInsights::Rack::TrackRequest, '<YOUR INSTRUMENTATION KEY GOES HERE>', <buffer size>
|
145
145
|
# For rails, suggest to set up this middleware in application.rb so that unhandled exceptions from controllers are also collected
|
146
|
-
config.middleware.use
|
146
|
+
config.middleware.use AzureApplicationInsights::Rack::TrackRequest, '<YOUR INSTRUMENTATION KEY GOES HERE>', <buffer size>
|
147
147
|
```
|
148
148
|
|
149
149
|
#### Rerieving the Request-Id value from AzureApplicationInsights ####
|
@@ -125,7 +125,7 @@ module AzureApplicationInsights
|
|
125
125
|
url: request.url,
|
126
126
|
properties: {
|
127
127
|
params: request.params.to_json,
|
128
|
-
requestBody: request.body.to_json
|
128
|
+
requestBody:request.content_type == 'application/json' ? request.body.to_json : ''
|
129
129
|
}
|
130
130
|
}
|
131
131
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_application_insights
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Blasina
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|