application_insights 0.5.0 → 0.5.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 +8 -8
- data/README.md +10 -0
- data/lib/application_insights/channel/sender_base.rb +1 -0
- data/lib/application_insights/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YmMxYzA0NzMxMzA2MThlYTIzMWViZTE1N2JjZWIxMDkwNmNiODRlZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MWJkMjg1NGIxN2MzMDY5YTRmM2QwYjU5MzlkMmYwN2Y2MWZlODQ4Yw==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZTA2MWJiY2E1ZmU2MzkyNTUyNzY2MmZmYTQwYmI4YzcyZDQyYzU4ZDg2NWE4
|
10
|
+
Yjg5ZTcwNzY0ZmFiNGI2YjZlMzRlY2JmNTQ2MGUxNmYwMWYwNTA4NDViYjFj
|
11
|
+
MWZlMDdkYzk1MDFmNzIyZWQyN2M0NDFjNjFlNWJhOWYzZjBhZDU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NGRlMzIzMzBlNDkyZmE4MzRlMWI5YTgxOGJkOWUyN2UyMDUyYTMwNzQwOGE4
|
14
|
+
NmQzMjQyZDAwOTEyODA2NjNhODkzYWY5YmMwNGE0Zjc5MDQ5NTFhOWM1MjE3
|
15
|
+
YzIyMGU5ZDVjMWNlMWVmZmYxMmVhYzExM2YxZThmMTY5NjAyMTM=
|
data/README.md
CHANGED
@@ -135,3 +135,13 @@ require 'application_insights'
|
|
135
135
|
ApplicationInsights::UnhandledException.collect('<YOUR INSTRUMENTATION KEY GOES HERE>')
|
136
136
|
# raise an exception and this would be send to Application Insights Service
|
137
137
|
raise Exception, 'Boom!'
|
138
|
+
```
|
139
|
+
|
140
|
+
###Collecting requests for rack applications###
|
141
|
+
```ruby
|
142
|
+
# set up the TrackRequest middleware in the rackup (config.ru) file
|
143
|
+
require 'application_insights'
|
144
|
+
use ApplicationInsights::Rack::TrackRequest, '<YOUR INSTRUMENTATION KEY GOES HERE>', <buffer size>
|
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 'ApplicationInsights::Rack::TrackRequest', '<YOUR INSTRUMENTATION KEY GOES HERE>', <buffer size>
|
147
|
+
```
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: application_insights
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|