opentelemetry-instrumentation-sinatra 0.5.0 → 0.6.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 +5 -0
- data/README.md +60 -0
- data/lib/opentelemetry/instrumentation/sinatra/version.rb +1 -1
- metadata +7 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a68eab996378005f85f10e592666ad33126db4ec57cba44b06d3910e22ea74e0
|
4
|
+
data.tar.gz: 428b057ae473af8d09f91140d1c4e0ac76969897d0ec5ff3ae1dfcffc0852ee3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59de658729f17446c4047b43ea446956b485eeaf421a5f867da354e41ea8511a2f2d8b90104266199172db45a7e0217ee5fd698fa3c05ee44f5f78842bb11436
|
7
|
+
data.tar.gz: 26fb938c3ed4f8bea9e8d77d46c3f04de29ab3b7150d58e02c9c6958260cb3f666ba20d1afe392c00b5b2c02e1d3432e9304e4feda75079bdbf6278161fbad19
|
data/CHANGELOG.md
ADDED
data/README.md
ADDED
@@ -0,0 +1,60 @@
|
|
1
|
+
# Sinatra Instrumentation
|
2
|
+
|
3
|
+
The Sinatra instrumentation is a community-maintained instrumentation for the [Sinatra][sinatra-home] Web Framework.
|
4
|
+
|
5
|
+
## How do I get started?
|
6
|
+
|
7
|
+
Install the gem using:
|
8
|
+
|
9
|
+
```
|
10
|
+
gem install opentelemetry-instrumentation-sinatra
|
11
|
+
```
|
12
|
+
|
13
|
+
Or, if you use [bundler][bundler-home], include `opentelemetry-instrumentation-sinatra` to your `Gemfile`.
|
14
|
+
|
15
|
+
## Usage
|
16
|
+
|
17
|
+
To install the instrumentation, add the gem to your Gemfile:
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
gem 'opentelemetry-instrumentation-sinatra'
|
21
|
+
```
|
22
|
+
|
23
|
+
Then call `use` with the name of the instrumentation:
|
24
|
+
|
25
|
+
```ruby
|
26
|
+
require 'rubygems'
|
27
|
+
require 'bundler/setup'
|
28
|
+
|
29
|
+
Bundler.require
|
30
|
+
|
31
|
+
OpenTelemetry::SDK.configure do |c|
|
32
|
+
c.use 'OpenTelemetry::Instrumentation::Sinatra'
|
33
|
+
end
|
34
|
+
```
|
35
|
+
|
36
|
+
Alternatively, you can also call `use_all` to install all the available instrumentation.
|
37
|
+
|
38
|
+
```ruby
|
39
|
+
OpenTelemetry::SDK.configure do |c|
|
40
|
+
c.use_all
|
41
|
+
end
|
42
|
+
```
|
43
|
+
|
44
|
+
## How can I get involved?
|
45
|
+
|
46
|
+
The `opentelemetry-instrumentation-sinatra` gem source is [on github][repo-github], along with related gems including `opentelemetry-api` and `opentelemetry-sdk`.
|
47
|
+
|
48
|
+
The OpenTelemetry Ruby gems are maintained by the OpenTelemetry-Ruby special interest group (SIG). You can get involved by joining us on our [gitter channel][ruby-gitter] or attending our weekly meeting. See the [meeting calendar][community-meetings] for dates and times. For more information on this and other language SIGs, see the OpenTelemetry [community page][ruby-sig].
|
49
|
+
|
50
|
+
## License
|
51
|
+
|
52
|
+
The `opentelemetry-instrumentation-sinatra` gem is distributed under the Apache 2.0 license. See [LICENSE][license-github] for more information.
|
53
|
+
|
54
|
+
[sinatra-home]: http://sinatrarb.com
|
55
|
+
[bundler-home]: https://bundler.io
|
56
|
+
[repo-github]: https://github.com/open-telemetry/opentelemetry-ruby
|
57
|
+
[license-github]: https://github.com/open-telemetry/opentelemetry-ruby/blob/master/LICENSE
|
58
|
+
[ruby-sig]: https://github.com/open-telemetry/community#ruby-sig
|
59
|
+
[community-meetings]: https://github.com/open-telemetry/community#community-meetings
|
60
|
+
[ruby-gitter]: https://gitter.im/open-telemetry/opentelemetry-ruby
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opentelemetry-instrumentation-sinatra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenTelemetry Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.6.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.6.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: appraisal
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -185,7 +185,9 @@ executables: []
|
|
185
185
|
extensions: []
|
186
186
|
extra_rdoc_files: []
|
187
187
|
files:
|
188
|
+
- CHANGELOG.md
|
188
189
|
- LICENSE
|
190
|
+
- README.md
|
189
191
|
- lib/opentelemetry-instrumentation-sinatra.rb
|
190
192
|
- lib/opentelemetry/instrumentation.rb
|
191
193
|
- lib/opentelemetry/instrumentation/sinatra.rb
|
@@ -212,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
212
214
|
- !ruby/object:Gem::Version
|
213
215
|
version: '0'
|
214
216
|
requirements: []
|
215
|
-
rubygems_version: 3.
|
217
|
+
rubygems_version: 3.1.2
|
216
218
|
signing_key:
|
217
219
|
specification_version: 4
|
218
220
|
summary: Sinatra instrumentation for the OpenTelemetry framework
|