opencensus-datadog 0.1.1 → 0.1.2
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/.travis.yml +5 -1
- data/README.md +5 -5
- data/lib/opencensus/datadog/version.rb +1 -1
- data/opencensus-datadog.gemspec +1 -1
- metadata +10 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69927cac7ff8321df6e8fc8acb690944bc1f558e37923bccad34aed46e0f6b83
|
4
|
+
data.tar.gz: a4ab6404ddfc0830154961651883ce01432ef4c5fb5b846ed5e963a230fa54e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be3e6172c67a63c1f3a82ed505edce46f0648b96c4d3505a14e5f072a98a950734a1ef46cc7edd642b3367edcc0c11e60213f50255ed68758fda6c9a2d5be00b
|
7
|
+
data.tar.gz: b6e8dfe39a52b82555453718cff73441deb165b71df1f4c9168d89b492c77ba92a65056c58923146e911478e842254add33be359d92f35b40d6daa5d77ff0e80
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
# Ruby Datadog APM Exporter for OpenCensus
|
1
|
+
# Ruby Datadog APM Exporter for OpenCensus [](https://travis-ci.org/munisystem/opencensus-datadog)
|
2
2
|
|
3
|
-
This library is the implementation of [OpenCensus](https://census-instrumentation/opencensus-ruby) exporter that transfer metrics to [Datadog APM](https://www.datadoghq.com/apm/).
|
3
|
+
This library is the implementation of [OpenCensus](https://github.com/census-instrumentation/opencensus-ruby) exporter that transfer metrics to [Datadog APM](https://www.datadoghq.com/apm/).
|
4
4
|
It is depending on Datadog Agent v6.
|
5
5
|
|
6
6
|
## Installation
|
@@ -24,21 +24,21 @@ Register this gem using OpenCensus configuration:
|
|
24
24
|
|
25
25
|
```ruby
|
26
26
|
OpenCensus.configure do |c|
|
27
|
-
c.trace.exporter = OpenCensus::Trace::
|
27
|
+
c.trace.exporter = OpenCensus::Trace::Exporters::Datadog.new
|
28
28
|
end
|
29
29
|
```
|
30
30
|
|
31
31
|
You can also use the following code if using Ruby on Rails:
|
32
32
|
|
33
33
|
```ruby
|
34
|
-
config.opencensus.trace.exporter = OpenCensus::Trace::
|
34
|
+
config.opencensus.trace.exporter = OpenCensus::Trace::Exporters::Datadog.new
|
35
35
|
```
|
36
36
|
|
37
37
|
By default, this gem sends metrics to the Datadog Agent at `http://localhost:8126`. You can send to different host or port.
|
38
38
|
|
39
39
|
```ruby
|
40
40
|
OpenCensus.configure do |c|
|
41
|
-
c.trace.exporter = OpenCensus::Trace::
|
41
|
+
c.trace.exporter = OpenCensus::Trace::Exporters::Datadog.new \
|
42
42
|
agent_hostname: '192.168.1.1',
|
43
43
|
agent_port: '1234'
|
44
44
|
end
|
data/opencensus-datadog.gemspec
CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
|
|
23
23
|
|
24
24
|
spec.add_dependency 'msgpack'
|
25
25
|
spec.add_dependency 'opencensus'
|
26
|
-
spec.add_dependency 'ddtrace'
|
26
|
+
spec.add_dependency 'ddtrace', '< 1.0'
|
27
27
|
|
28
28
|
spec.add_development_dependency "bundler", "~> 1.16"
|
29
29
|
spec.add_development_dependency "rake", "~> 10.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opencensus-datadog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuichi Saito
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-05-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: msgpack
|
@@ -42,16 +42,16 @@ dependencies:
|
|
42
42
|
name: ddtrace
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - "<"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
47
|
+
version: '1.0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - "<"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
54
|
+
version: '1.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,7 +123,7 @@ homepage: https://github.com/munisystem/opencensus-datadog
|
|
123
123
|
licenses:
|
124
124
|
- MIT
|
125
125
|
metadata: {}
|
126
|
-
post_install_message:
|
126
|
+
post_install_message:
|
127
127
|
rdoc_options: []
|
128
128
|
require_paths:
|
129
129
|
- lib
|
@@ -138,9 +138,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
138
|
- !ruby/object:Gem::Version
|
139
139
|
version: '0'
|
140
140
|
requirements: []
|
141
|
-
|
142
|
-
|
143
|
-
signing_key:
|
141
|
+
rubygems_version: 3.0.3
|
142
|
+
signing_key:
|
144
143
|
specification_version: 4
|
145
144
|
summary: Datadog APM exporter for OpenCensus
|
146
145
|
test_files: []
|