rails_opentracer 0.1.4 → 0.1.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cf40df5522f167dcbbca5a220b8779d555fad557
4
- data.tar.gz: 41be10e0d9eb3e06dd2eac2f7feb215a60217801
3
+ metadata.gz: b7a8cdaee2d66697c908505b63d0d438858e5e02
4
+ data.tar.gz: 5741336f562d8dee0e72b908bf9bd7a4217e060a
5
5
  SHA512:
6
- metadata.gz: 8d9721de5e513d1b807378c7abe38aafdce30ddaa2c907962bb4bd73ab3c53ec6fa08891d4ed222ca4fa497dceaa298dc8b712063427681fee7c2c7ce933586d
7
- data.tar.gz: d54e8b6685af7b5fb8dfa50743980f1cd2842234c9824a2460b4f2b04b5c6275c3f6e6d2ead120d4e074ff856d0a38e8f0c915ac0fbccfd3859f965d202022ec
6
+ metadata.gz: 04eb632df7bc3ab8d46766931255ec25535afc395bd4e95afab4861c38ddf74adf70c98be00e5dd3382fbe8cc09d623a00d58bdf1322fa139a932294dc188dad
7
+ data.tar.gz: dd6cb2f4d5b30a0db23b35f84d21cd2fc7b1844d75f20861b89483d759ebafcdf506a191da34aa8a8bdeb0837874375545fcb264d5deccf993a87dc49c83e3e5
data/README.md CHANGED
@@ -1,8 +1,16 @@
1
1
  # RailsOpentracer
2
2
 
3
+ Gem is in active development. If you see this then us devs aren't quite done yet.
4
+
3
5
  This gem instruments an application to be used with a tracing client. At this stage it is configured to be used with Zipkin only, but
4
6
  this can be changed at a later stage.
5
7
 
8
+ TODO:
9
+ - Testz
10
+ - Is faraday_tracer.rb required ?
11
+ - Instrument active record tracing (and give creditz to ruby-rails-tracer's dude)
12
+ - Are all those generators "the way" we want to do thingz?
13
+
6
14
  ## Installation
7
15
 
8
16
  Add this line to your application's Gemfile:
@@ -35,7 +43,9 @@ To run Zipkin locally, do:
35
43
 
36
44
  $ docker run -d -p 9411:9411 openzipkin/zipkin
37
45
 
38
- You will need to set an environment variable with the Zipkin client URL. Locally this would be: `ENV['ZIPKIN_SERVICE_URL']='http://localhost:9411'`.
46
+ You will need to set an environment variable with the Zipkin client URL. Locally this would be:
47
+
48
+ `ENV['ZIPKIN_SERVICE_URL']='http://localhost:9411'`.
39
49
 
40
50
  Whenever a request is made to another application, do:
41
51
 
@@ -47,7 +57,7 @@ in the applicable controller, and then:
47
57
 
48
58
  ```ruby
49
59
  with_span 'name of span' do
50
- faraday_get(URL)
60
+ get(URL)
51
61
  end
52
62
  ```
53
63
 
@@ -2,7 +2,7 @@ require 'rails_opentracer/version'
2
2
  require 'faraday'
3
3
 
4
4
  module RailsOpentracer
5
- def faraday_get(url)
5
+ def get(url)
6
6
  connection = Faraday.new do |con|
7
7
  con.use FaradayTracer
8
8
  con.use Faraday::Adapter::NetHttp
@@ -1,3 +1,3 @@
1
1
  module RailsOpentracer
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
 
12
12
  spec.summary = %q{Gem that auto-instruments application with OpenTracing}
13
13
  # spec.description = %q{TODO: Write a longer description or delete this line.}
14
- spec.homepage = "https://github.com/erikbotes/rails_opentracer"
14
+ spec.homepage = "https://github.com/nuclearnic/rails_opentracer"
15
15
  spec.license = "MIT"
16
16
 
17
17
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_opentracer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erik Botes
@@ -117,7 +117,7 @@ files:
117
117
  - lib/rails_opentracer.rb
118
118
  - lib/rails_opentracer/version.rb
119
119
  - rails_opentracer.gemspec
120
- homepage: https://github.com/erikbotes/rails_opentracer
120
+ homepage: https://github.com/nuclearnic/rails_opentracer
121
121
  licenses:
122
122
  - MIT
123
123
  metadata: {}