opencensus-datadog 0.1.1 → 0.1.2

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: a8462b246aa741ba124db1c44eace150ef53d8d994673f80a980e2f0f7c82f94
4
- data.tar.gz: 2123122f5ab6d8c475f56243bcdd1c8ec2f24f5acbb34e991873ca5aa0d7cec3
3
+ metadata.gz: 69927cac7ff8321df6e8fc8acb690944bc1f558e37923bccad34aed46e0f6b83
4
+ data.tar.gz: a4ab6404ddfc0830154961651883ce01432ef4c5fb5b846ed5e963a230fa54e8
5
5
  SHA512:
6
- metadata.gz: b35dd72c375af2796fd62005c9acb007b32b1d39de34cde2169b98f9713136d0764abe4179186c058417f6a1fa6e6a742c77b0391cdbe8ee738065a73de24b39
7
- data.tar.gz: 586fb64651a2c7a260ad169056928eb9e4e8b1208f5bd33c339ec891d3163c27c24b334c2f9e25ec8e1d469d73a28d63c0101f06fcb453e1d7a656d38d37293e
6
+ metadata.gz: be3e6172c67a63c1f3a82ed505edce46f0648b96c4d3505a14e5f072a98a950734a1ef46cc7edd642b3367edcc0c11e60213f50255ed68758fda6c9a2d5be00b
7
+ data.tar.gz: b6e8dfe39a52b82555453718cff73441deb165b71df1f4c9168d89b492c77ba92a65056c58923146e911478e842254add33be359d92f35b40d6daa5d77ff0e80
data/.travis.yml CHANGED
@@ -1,5 +1,9 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
- - 2.4.1
4
+ - 2.3.7
5
+ - 2.4.4
6
+ - 2.5.1
5
7
  before_install: gem install bundler -v 1.16.2
8
+ script:
9
+ - bundle exec rspec
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # Ruby Datadog APM Exporter for OpenCensus
1
+ # Ruby Datadog APM Exporter for OpenCensus [![Build Status](https://travis-ci.org/munisystem/opencensus-datadog.svg?branch=master)](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::Integrations::Datadog.new
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::Integrations::Datadog.new
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::Integrations::Datadog.new \
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
@@ -1,5 +1,5 @@
1
1
  module OpenCensus
2
2
  module Datadog
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
@@ -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.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: 2018-09-12 00:00:00.000000000 Z
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
- rubyforge_project:
142
- rubygems_version: 2.7.3
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: []