traceview 3.8.3 → 3.8.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (169) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +23 -14
  3. data/CONFIG.md +1 -2
  4. data/LICENSE +118 -124
  5. data/README.md +27 -34
  6. data/Rakefile +1 -1
  7. data/examples/DNT.md +1 -1
  8. data/examples/tracing_async_threads.rb +1 -2
  9. data/ext/oboe_metal/extconf.rb +1 -1
  10. data/ext/oboe_metal/tests/test.rb +1 -1
  11. data/gemfiles/delayed_job.gemfile +6 -1
  12. data/gemfiles/libraries.gemfile +2 -0
  13. data/gemfiles/rails40.gemfile +1 -1
  14. data/gemfiles/rails41.gemfile +1 -1
  15. data/gemfiles/rails42.gemfile +1 -1
  16. data/init.rb +1 -1
  17. data/lib/joboe_metal.rb +3 -3
  18. data/lib/oboe.rb +1 -1
  19. data/lib/oboe_metal.rb +1 -1
  20. data/lib/rails/generators/traceview/install_generator.rb +3 -3
  21. data/lib/rails/generators/traceview/templates/traceview_initializer.rb +4 -4
  22. data/lib/traceview.rb +1 -1
  23. data/lib/traceview/api.rb +2 -2
  24. data/lib/traceview/api/layerinit.rb +1 -1
  25. data/lib/traceview/api/logging.rb +1 -1
  26. data/lib/traceview/api/memcache.rb +1 -1
  27. data/lib/traceview/api/profiling.rb +1 -1
  28. data/lib/traceview/api/tracing.rb +1 -1
  29. data/lib/traceview/api/util.rb +1 -1
  30. data/lib/traceview/base.rb +1 -1
  31. data/lib/traceview/config.rb +2 -2
  32. data/lib/traceview/frameworks/grape.rb +1 -1
  33. data/lib/traceview/frameworks/padrino.rb +1 -1
  34. data/lib/traceview/frameworks/padrino/templates.rb +1 -1
  35. data/lib/traceview/frameworks/rails.rb +1 -1
  36. data/lib/traceview/frameworks/rails/inst/action_controller.rb +1 -1
  37. data/lib/traceview/frameworks/rails/inst/action_controller2.rb +1 -1
  38. data/lib/traceview/frameworks/rails/inst/action_controller3.rb +1 -1
  39. data/lib/traceview/frameworks/rails/inst/action_controller4.rb +1 -1
  40. data/lib/traceview/frameworks/rails/inst/action_controller5.rb +1 -1
  41. data/lib/traceview/frameworks/rails/inst/action_controller_api.rb +1 -1
  42. data/lib/traceview/frameworks/rails/inst/action_view.rb +1 -1
  43. data/lib/traceview/frameworks/rails/inst/action_view_2x.rb +1 -1
  44. data/lib/traceview/frameworks/rails/inst/action_view_30.rb +1 -1
  45. data/lib/traceview/frameworks/rails/inst/active_record.rb +1 -1
  46. data/lib/traceview/frameworks/rails/inst/connection_adapters/mysql.rb +1 -1
  47. data/lib/traceview/frameworks/rails/inst/connection_adapters/mysql2.rb +1 -1
  48. data/lib/traceview/frameworks/rails/inst/connection_adapters/postgresql.rb +1 -1
  49. data/lib/traceview/frameworks/rails/inst/connection_adapters/utils.rb +1 -1
  50. data/lib/traceview/frameworks/rails/inst/connection_adapters/utils5x.rb +1 -1
  51. data/lib/traceview/frameworks/sinatra.rb +1 -1
  52. data/lib/traceview/frameworks/sinatra/templates.rb +1 -1
  53. data/lib/traceview/inst/bunny-client.rb +1 -1
  54. data/lib/traceview/inst/bunny-consumer.rb +1 -1
  55. data/lib/traceview/inst/curb.rb +1 -1
  56. data/lib/traceview/inst/dalli.rb +1 -1
  57. data/lib/traceview/inst/delayed_job.rb +1 -1
  58. data/lib/traceview/inst/em-http-request.rb +1 -1
  59. data/lib/traceview/inst/excon.rb +1 -1
  60. data/lib/traceview/inst/faraday.rb +1 -1
  61. data/lib/traceview/inst/http.rb +1 -1
  62. data/lib/traceview/inst/httpclient.rb +1 -1
  63. data/lib/traceview/inst/memcache.rb +1 -1
  64. data/lib/traceview/inst/memcached.rb +1 -1
  65. data/lib/traceview/inst/mongo.rb +1 -1
  66. data/lib/traceview/inst/mongo2.rb +1 -1
  67. data/lib/traceview/inst/moped.rb +1 -1
  68. data/lib/traceview/inst/rack.rb +1 -1
  69. data/lib/traceview/inst/redis.rb +1 -1
  70. data/lib/traceview/inst/resque.rb +1 -1
  71. data/lib/traceview/inst/rest-client.rb +1 -1
  72. data/lib/traceview/inst/sequel.rb +1 -1
  73. data/lib/traceview/inst/sidekiq-client.rb +1 -1
  74. data/lib/traceview/inst/sidekiq-worker.rb +1 -1
  75. data/lib/traceview/inst/twitter-cassandra.rb +1 -1
  76. data/lib/traceview/inst/typhoeus.rb +1 -1
  77. data/lib/traceview/instrumentation.rb +1 -1
  78. data/lib/traceview/legacy_method_profiling.rb +1 -1
  79. data/lib/traceview/loading.rb +1 -1
  80. data/lib/traceview/logger.rb +1 -1
  81. data/lib/traceview/ruby.rb +1 -1
  82. data/lib/traceview/support.rb +5 -6
  83. data/lib/traceview/test.rb +1 -1
  84. data/lib/traceview/thread_local.rb +1 -1
  85. data/lib/traceview/util.rb +1 -1
  86. data/lib/traceview/version.rb +2 -2
  87. data/lib/traceview/xtrace.rb +1 -1
  88. data/test/frameworks/apps/grape_nested.rb +1 -1
  89. data/test/frameworks/apps/grape_simple.rb +1 -1
  90. data/test/frameworks/apps/sinatra_simple.rb +1 -1
  91. data/test/frameworks/grape_test.rb +1 -1
  92. data/test/frameworks/padrino_test.rb +1 -1
  93. data/test/frameworks/rails3x_test.rb +1 -1
  94. data/test/frameworks/rails4x_test.rb +1 -1
  95. data/test/frameworks/rails5x_api_test.rb +1 -1
  96. data/test/frameworks/rails5x_test.rb +1 -1
  97. data/test/frameworks/sinatra_test.rb +1 -1
  98. data/test/instrumentation/bunny_client_test.rb +1 -1
  99. data/test/instrumentation/bunny_consumer_test.rb +1 -1
  100. data/test/instrumentation/curb_test.rb +1 -1
  101. data/test/instrumentation/dalli_test.rb +1 -1
  102. data/test/instrumentation/em_http_request_test.rb +2 -2
  103. data/test/instrumentation/excon_test.rb +1 -1
  104. data/test/instrumentation/faraday_test.rb +1 -1
  105. data/test/instrumentation/http_test.rb +1 -1
  106. data/test/instrumentation/httpclient_test.rb +1 -1
  107. data/test/instrumentation/memcache_test.rb +1 -1
  108. data/test/instrumentation/memcached_test.rb +1 -1
  109. data/test/instrumentation/mongo_v1_test.rb +1 -1
  110. data/test/instrumentation/mongo_v2_index_test.rb +1 -1
  111. data/test/instrumentation/mongo_v2_test.rb +1 -1
  112. data/test/instrumentation/mongo_v2_view_test.rb +1 -1
  113. data/test/instrumentation/moped_test.rb +1 -1
  114. data/test/instrumentation/rack_test.rb +1 -1
  115. data/test/instrumentation/redis_hashes_test.rb +1 -1
  116. data/test/instrumentation/redis_keys_test.rb +1 -1
  117. data/test/instrumentation/redis_lists_test.rb +1 -1
  118. data/test/instrumentation/redis_misc_test.rb +1 -1
  119. data/test/instrumentation/redis_sets_test.rb +1 -1
  120. data/test/instrumentation/redis_sortedsets_test.rb +1 -1
  121. data/test/instrumentation/redis_strings_test.rb +1 -1
  122. data/test/instrumentation/resque_test.rb +1 -1
  123. data/test/instrumentation/rest-client_test.rb +1 -1
  124. data/test/instrumentation/sequel_mysql2_test.rb +1 -1
  125. data/test/instrumentation/sequel_mysql_test.rb +1 -1
  126. data/test/instrumentation/sequel_pg_test.rb +1 -1
  127. data/test/instrumentation/sidekiq-client_test.rb +1 -1
  128. data/test/instrumentation/sidekiq-worker_test.rb +1 -1
  129. data/test/instrumentation/twitter-cassandra_test.rb +1 -1
  130. data/test/instrumentation/typhoeus_test.rb +1 -1
  131. data/test/jobs/delayed_job/db_worker_job.rb +1 -1
  132. data/test/jobs/delayed_job/error_worker_job.rb +1 -1
  133. data/test/jobs/delayed_job/remote_call_worker_job.rb +1 -1
  134. data/test/jobs/resque/db_worker_job.rb +1 -1
  135. data/test/jobs/resque/error_worker_job.rb +1 -1
  136. data/test/jobs/resque/remote_call_worker_job.rb +1 -1
  137. data/test/jobs/sidekiq/db_worker_job.rb +1 -1
  138. data/test/jobs/sidekiq/error_worker_job.rb +1 -1
  139. data/test/jobs/sidekiq/remote_call_worker_job.rb +1 -1
  140. data/test/minitest_helper.rb +1 -1
  141. data/test/profiling/legacy_method_profiling_test.rb +1 -1
  142. data/test/profiling/method_profiling_test.rb +1 -1
  143. data/test/queues/delayed_job-client_test.rb +1 -1
  144. data/test/queues/delayed_job-worker_test.rb +1 -1
  145. data/test/reporter/reporter_test.rb +1 -1
  146. data/test/servers/delayed_job.rb +1 -1
  147. data/test/servers/rackapp_8101.rb +1 -1
  148. data/test/servers/rails3x_8140.rb +1 -1
  149. data/test/servers/rails4x_8140.rb +1 -1
  150. data/test/servers/rails5x_8140.rb +1 -1
  151. data/test/servers/rails5x_api_8150.rb +1 -1
  152. data/test/servers/sidekiq.rb +1 -1
  153. data/test/servers/sidekiq_initializer.rb +1 -1
  154. data/test/support/auto_tracing_test.rb +1 -1
  155. data/test/support/avw_handling_test.rb +1 -1
  156. data/test/support/backcompat_test.rb +1 -1
  157. data/test/support/config_test.rb +1 -1
  158. data/test/support/dnt_test.rb +1 -1
  159. data/test/support/init_report_test.rb +1 -1
  160. data/test/support/liboboe_settings_test.rb +1 -1
  161. data/test/support/noop_test.rb +1 -1
  162. data/test/support/sql_sanitize_test.rb +1 -1
  163. data/test/support/tracing_mode_test.rb +1 -1
  164. data/test/support/tvalias_test.rb +1 -1
  165. data/test/support/xtrace_test.rb +1 -1
  166. data/traceview.gemspec +4 -5
  167. metadata +66 -70
  168. data/test/benchmarks/allocations_test.rb +0 -14
  169. data/test/benchmarks/tracing_api_test.rb +0 -15
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 32b865d51e3fb70e212c5fb02f043c1af940dff1
4
- data.tar.gz: 37f29c3fc9cb2caf79a5e872e39e5f058e622f2d
3
+ metadata.gz: 9bf59a9b8ed191c5a2b04bb5ddef7823e22b87c2
4
+ data.tar.gz: 74a761e9969c48ce2a681cc485c46cc45d55b592
5
5
  SHA512:
6
- metadata.gz: 2415dbcc5597523fae2e474c6f2c1c90900a9b6f800e35fc6b23fb8c63b8139fdcba2ab27c690b6dd674a1cb9d87fc9e5dababb6fe6f9aa6ecaea4e6562a09fd
7
- data.tar.gz: b362aa442657b6b8161e7fc82fc01b5cf7a3834d3780a0a44f9f63927a10c0cfdf9e4d5e1ed35987d97c2030ba298dbe6259a142670ba9ba674b8a99d5b8acda
6
+ metadata.gz: 670d35674e83e41230bae411bf8d70509b1e597ba2fc36975dd20bbc471f3318c33ad40305ccaf55b44cdec21749b4ff169b53fc01fa7015d50bf96fa953d279
7
+ data.tar.gz: 6bc69a4013574a3b53b769a134ff96e46c50f0ab967327018a5ea2d391f27e31bbc5189d298d37389f83e6d32d854ede66de8443e455557d0117b33b4d853a92
@@ -1,9 +1,20 @@
1
1
 
2
2
  For the latest release info, see here:
3
- https://github.com/appneta/ruby-traceview/releases
3
+ https://github.com/tracelytics/ruby-traceview/releases
4
4
 
5
5
  Dates in this file are in the format MM/DD/YYYY.
6
6
 
7
+ # traceview 3.8.4 (10/17/2016)
8
+
9
+ This patch release includes the following fixes:
10
+
11
+ * License, copyright, support email and links updates
12
+
13
+ Pushed to Rubygems:
14
+
15
+ https://rubygems.org/gems/traceview/versions/3.8.4
16
+ https://rubygems.org/gems/traceview/versions/3.8.4-java
17
+
7
18
  # traceview 3.8.3 (08/29/2016)
8
19
 
9
20
  This patch release includes the following fixes:
@@ -610,7 +621,7 @@ This is a patch release to address "Unsupported digest algorithm (SHA256)" occur
610
621
  # oboe 2.4.0.1 (01/12/2013)
611
622
 
612
623
  * Report SampleRate & SampleSource per updated SWIG API
613
- * Change OboeHeroku __Init Key
624
+ * Change OboeHeroku __Init Key
614
625
  * Remove oboe_fu artifacts
615
626
  * CodeClimate Initiated improvements
616
627
  * Remove SSL connection requirement from Net::HTTP tests
@@ -621,7 +632,7 @@ This is a patch release to address "Unsupported digest algorithm (SHA256)" occur
621
632
 
622
633
  # oboe 2.3.4.1 (11/21/2013)
623
634
 
624
- * Stacks that use a caching system like Varnish could see corrupted traces; fixed.
635
+ * Stacks that use a caching system like Varnish could see corrupted traces; fixed.
625
636
 
626
637
  # oboe 2.3.3.7 (11/06/2013)
627
638
 
@@ -690,9 +701,9 @@ This is a patch release to address "Unsupported digest algorithm (SHA256)" occur
690
701
 
691
702
  * Resque support
692
703
  * Fix Rails 2 bug where SET and SHOW could result in recursive calls
693
- * Memcache - multi-get calls now report a total for number of keys and number
704
+ * Memcache - multi-get calls now report a total for number of keys and number
694
705
  of hits
695
- * Configuration - added ability to identify components to skip from
706
+ * Configuration - added ability to identify components to skip from
696
707
  instrumentation
697
708
  * Configuration - sending Resque parameters can be skipped if privacy an issue.
698
709
 
@@ -729,24 +740,24 @@ instrumentation
729
740
 
730
741
  # oboe 1.3.2
731
742
 
732
- * Fix a case when the RUM instrumentation header/footer methods would not
743
+ * Fix a case when the RUM instrumentation header/footer methods would not
733
744
  return JS output, depending on how the way they were called from HAML.
734
745
 
735
746
  # oboe 1.3.1
736
747
 
737
748
  * Support for RUM instrumentation.
738
- Fix for certain cases where exceptions were not properly propagated up to Rails
749
+ Fix for certain cases where exceptions were not properly propagated up to Rails
739
750
  error handlers.
740
751
 
741
752
  # oboe 1.3.0
742
753
 
743
- * The oboe and oboe_fu gems have been merged to simplify installation. The
744
- final oboe_fu gem (1.3.0) simply calls "require 'oboe'" now for backwards
754
+ * The oboe and oboe_fu gems have been merged to simplify installation. The
755
+ final oboe_fu gem (1.3.0) simply calls "require 'oboe'" now for backwards
745
756
  compatibility.
746
- * Please note our updated installation instructions for the new location of
757
+ * Please note our updated installation instructions for the new location of
747
758
  Ruby oboe API methods.
748
- * Our gem now successfully installs even if your platform does not have our
749
- base packages (liboboe) installed, so you can deploy to environments with or
759
+ * Our gem now successfully installs even if your platform does not have our
760
+ base packages (liboboe) installed, so you can deploy to environments with or
750
761
  without TraceView support.
751
762
 
752
763
  # oboe_fu 1.2.1
@@ -756,5 +767,3 @@ without TraceView support.
756
767
  # oboe_fu 1.2.0
757
768
 
758
769
  * Support for Rails 2.3, 3.0, 3.1, and 3.2.
759
-
760
-
data/CONFIG.md CHANGED
@@ -29,5 +29,4 @@ Name | Description | Default
29
29
 
30
30
  `TraceView::Config` is a nested hash used by the traceview gem to store preferences and switches.
31
31
 
32
- See [this Rails generator template file](https://github.com/appneta/oboe-ruby/blob/master/lib/rails/generators/traceview/templates/traceview_initializer.rb) for documentation on all of the supported values.
33
-
32
+ See [this Rails generator template file](https://github.com/tracelytics/oboe-ruby/blob/master/lib/rails/generators/traceview/templates/traceview_initializer.rb) for documentation on all of the supported values.
data/LICENSE CHANGED
@@ -1,199 +1,193 @@
1
- AppNeta Open License, Version 1.0
2
-
3
- AppNeta Open License
4
- Version 1.0, April, 2013
5
-
6
- http://www.appneta.com/appneta-license
1
+ Librato Open License
2
+ Version 1.0, October, 2016
7
3
 
8
4
  TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
9
5
 
10
6
  1. Definitions.
11
7
 
12
- "License" shall mean the terms and conditions for use, reproduction, and
8
+ "License" shall mean the terms and conditions for use, reproduction, and
13
9
  distribution as defined by Sections 1 through 11 of this document.
14
10
 
15
- "Licensor" shall mean the copyright owner or entity authorized by the copyright
16
- owner that is granting the License. Licensor can include AppNeta as an
11
+ "Licensor" shall mean the copyright owner or entity authorized by the copyright
12
+ owner that is granting the License. Licensor can include Librato as an
17
13
  original contributor to the Work as defined below.
18
14
 
19
- "Legal Entity" shall mean the union of the acting entity and all other entities
20
- that control, are controlled by, or are under common control with that entity.
21
- For the purposes of this definition, "control" means (i) the power, direct or
22
- indirect, to cause the direction or management of such entity, whether by
23
- contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
15
+ "Legal Entity" shall mean the union of the acting entity and all other entities
16
+ that control, are controlled by, or are under common control with that entity.
17
+ For the purposes of this definition, "control" means (i) the power, direct or
18
+ indirect, to cause the direction or management of such entity, whether by
19
+ contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
24
20
  outstanding shares, or (iii) beneficial ownership of such entity.
25
21
 
26
- "You" (or "Your") shall mean an individual or Legal Entity exercising
22
+ "You" (or "Your") shall mean an individual or Legal Entity exercising
27
23
  permissions granted by this License.
28
24
 
29
- "Source" form shall mean the preferred form for making modifications, including
30
- but not limited to software source code, documentation source, and
25
+ "Source" form shall mean the preferred form for making modifications, including
26
+ but not limited to software source code, documentation source, and
31
27
  configuration files.
32
28
 
33
- "Object" form shall mean any form resulting from mechanical transformation or
34
- translation of a Source form, including but not limited to compiled object
29
+ "Object" form shall mean any form resulting from mechanical transformation or
30
+ translation of a Source form, including but not limited to compiled object
35
31
  code, generated documentation, and conversions to other media types.
36
32
 
37
- "Work" shall mean the work of authorship, whether in Source or Object form,
38
- made available under the License, as indicated by a copyright notice that is
39
- included in or attached to the work (an example is provided in the Appendix
40
- below).
33
+ "Work" shall mean the work of authorship, whether in Source or Object form,
34
+ made available under the License, as indicated by a copyright notice that is
35
+ included in or attached to the work.
41
36
 
42
- "Derivative Works" shall mean any work, whether in Source or Object form, that
43
- is based on (or derived from) the Work and for which the editorial revisions,
44
- annotations, elaborations, or other modifications represent, as a whole, an
45
- original work of authorship. For the purposes of this License, Derivative Works
46
- shall not include works that remain separable from, or merely link (or bind by
37
+ "Derivative Works" shall mean any work, whether in Source or Object form, that
38
+ is based on (or derived from) the Work and for which the editorial revisions,
39
+ annotations, elaborations, or other modifications represent, as a whole, an
40
+ original work of authorship. For the purposes of this License, Derivative Works
41
+ shall not include works that remain separable from, or merely link (or bind by
47
42
  name) to the interfaces of, the Work and Derivative Works thereof.
48
43
 
49
- "Contribution" shall mean any work of authorship, including the original
50
- version of the Work and any modifications or additions to that Work or
51
- Derivative Works thereof, that is intentionally submitted to Licensor for
52
- inclusion in the Work by the copyright owner or by an individual or Legal
53
- Entity authorized to submit on behalf of the copyright owner. For the purposes
54
- of this definition, "submitted" means any form of electronic, verbal, or
55
- written communication sent to the Licensor or its representatives, including
56
- but not limited to communication on electronic mailing lists, source code
57
- control systems, and issue tracking systems that are managed by, or on behalf
58
- of, the Licensor for the purpose of discussing and improving the Work, but
59
- excluding communication that is conspicuously marked or otherwise designated in
44
+ "Contribution" shall mean any work of authorship, including the original
45
+ version of the Work and any modifications or additions to that Work or
46
+ Derivative Works thereof, that is intentionally submitted to Licensor for
47
+ inclusion in the Work by the copyright owner or by an individual or Legal
48
+ Entity authorized to submit on behalf of the copyright owner. For the purposes
49
+ of this definition, "submitted" means any form of electronic, verbal, or
50
+ written communication sent to the Licensor or its representatives, including
51
+ but not limited to communication on electronic mailing lists, source code
52
+ control systems, and issue tracking systems that are managed by, or on behalf
53
+ of, the Licensor for the purpose of discussing and improving the Work, but
54
+ excluding communication that is conspicuously marked or otherwise designated in
60
55
  writing by the copyright owner as "Not a Contribution."
61
56
 
62
- "Contributor" shall mean Licensor and any individual or Legal Entity on behalf
63
- of whom a Contribution has been received by Licensor and subsequently
57
+ "Contributor" shall mean Licensor and any individual or Legal Entity on behalf
58
+ of whom a Contribution has been received by Licensor and subsequently
64
59
  incorporated within the Work.
65
60
 
66
61
  2. Grant of Copyright License.
67
62
 
68
- Subject to the terms and conditions of this License, each Contributor hereby
69
- grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
70
- irrevocable copyright license to reproduce, prepare Derivative Works of,
71
- publicly display, publicly perform, sublicense, and distribute the Work and
63
+ Subject to the terms and conditions of this License, each Contributor hereby
64
+ grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
65
+ irrevocable copyright license to reproduce, prepare Derivative Works of,
66
+ publicly display, publicly perform, sublicense, and distribute the Work and
72
67
  such Derivative Works in Source or Object form.
73
68
 
74
69
  3. Grant of Patent License.
75
70
 
76
- Subject to the terms and conditions of this License, each Contributor hereby
77
- grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
78
- irrevocable (except as stated in this section) patent license to make, have
79
- made, use, offer to sell, sell, import, and otherwise transfer the Work, where
80
- such license applies only to those patent claims licensable by such Contributor
81
- that are necessarily infringed by their Contribution(s) alone or by combination
82
- of their Contribution(s) with the Work to which such Contribution(s) was
83
- submitted. If You institute patent litigation against any entity (including a
84
- cross-claim or counterclaim in a lawsuit) alleging that the Work or a
85
- Contribution incorporated within the Work constitutes direct or contributory
86
- patent infringement, then any patent licenses granted to You under this License
71
+ Subject to the terms and conditions of this License, each Contributor hereby
72
+ grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
73
+ irrevocable (except as stated in this section) patent license to make, have
74
+ made, use, offer to sell, sell, import, and otherwise transfer the Work, where
75
+ such license applies only to those patent claims licensable by such Contributor
76
+ that are necessarily infringed by their Contribution(s) alone or by combination
77
+ of their Contribution(s) with the Work to which such Contribution(s) was
78
+ submitted. If You institute patent litigation against any entity (including a
79
+ cross-claim or counterclaim in a lawsuit) alleging that the Work or a
80
+ Contribution incorporated within the Work constitutes direct or contributory
81
+ patent infringement, then any patent licenses granted to You under this License
87
82
  for that Work shall terminate as of the date such litigation is filed.
88
83
 
89
- Each time You convey a covered Work, the recipient automatically receives a
90
- license from the original Licensor(s), to run, modify and propagate that work,
91
- subject to this License. You are not responsible for enforcing compliance by
84
+ Each time You convey a covered Work, the recipient automatically receives a
85
+ license from the original Licensor(s), to run, modify and propagate that work,
86
+ subject to this License. You are not responsible for enforcing compliance by
92
87
  third parties with this License.
93
88
 
94
- You may not impose any further restrictions on the exercise of the rights
95
- granted or affirmed under this License. For example, you may not impose a
96
- license fee, royalty, or other charge for exercise of rights granted under this
97
- License, and you may not initiate litigation (including a cross-claim or
98
- counterclaim in a lawsuit) alleging that any patent claim is infringed by
99
- making, using, selling, offering for sale, or importing the Work or any portion
89
+ You may not impose any further restrictions on the exercise of the rights
90
+ granted or affirmed under this License. For example, you may not impose a
91
+ license fee, royalty, or other charge for exercise of rights granted under this
92
+ License, and you may not initiate litigation (including a cross-claim or
93
+ counterclaim in a lawsuit) alleging that any patent claim is infringed by
94
+ making, using, selling, offering for sale, or importing the Work or any portion
100
95
  of it.
101
96
 
102
97
  4. Redistribution.
103
98
 
104
- You may reproduce and distribute copies of the Work or Derivative Works thereof
105
- in any medium, with or without modifications, and in Source or Object form,
99
+ You may reproduce and distribute copies of the Work or Derivative Works thereof
100
+ in any medium, with or without modifications, and in Source or Object form,
106
101
  provided that You meet the following conditions:
107
102
 
108
- 1. You must give any other recipients of the Work or Derivative Works a copy
103
+ 1. You must give any other recipients of the Work or Derivative Works a copy
109
104
  of this License; and
110
- 2. You must cause any modified files to carry prominent notices stating that
105
+ 2. You must cause any modified files to carry prominent notices stating that
111
106
  You changed the files; and
112
- 3. You must retain, in the Source form of any Derivative Works that You
113
- distribute, all copyright, patent, trademark, and attribution notices from the
114
- Source form of the Work, excluding those notices that do not pertain to any
107
+ 3. You must retain, in the Source form of any Derivative Works that You
108
+ distribute, all copyright, patent, trademark, and attribution notices from the
109
+ Source form of the Work, excluding those notices that do not pertain to any
115
110
  part of the Derivative Works; and
116
- 4. If the Work includes a "NOTICE" text file as part of its distribution,
117
- then any Derivative Works that You distribute must include a readable copy of
118
- the attribution notices contained within such NOTICE file, excluding those
119
- notices that do not pertain to any part of the Derivative Works, in at least
120
- one of the following places: within a NOTICE text file distributed as part of
121
- the Derivative Works; within the Source form or documentation, if provided
122
- along with the Derivative Works; or, within a display generated by the
123
- Derivative Works, if and wherever such third-party notices normally appear. The
124
- contents of the NOTICE file are for informational purposes only and do not
125
- modify the License. You may add Your own attribution notices within Derivative
126
- Works that You distribute, alongside or as an addendum to the NOTICE text from
127
- the Work, provided that such additional attribution notices cannot be construed
111
+ 4. If the Work includes a "NOTICE" text file as part of its distribution,
112
+ then any Derivative Works that You distribute must include a readable copy of
113
+ the attribution notices contained within such NOTICE file, excluding those
114
+ notices that do not pertain to any part of the Derivative Works, in at least
115
+ one of the following places: within a NOTICE text file distributed as part of
116
+ the Derivative Works; within the Source form or documentation, if provided
117
+ along with the Derivative Works; or, within a display generated by the
118
+ Derivative Works, if and wherever such third-party notices normally appear. The
119
+ contents of the NOTICE file are for informational purposes only and do not
120
+ modify the License. You may add Your own attribution notices within Derivative
121
+ Works that You distribute, alongside or as an addendum to the NOTICE text from
122
+ the Work, provided that such additional attribution notices cannot be construed
128
123
  as modifying the License.
129
124
 
130
- You may add Your own copyright statement to Your modifications and may provide
131
- additional or different license terms and conditions for use, reproduction, or
132
- distribution of Your modifications, or for any such Derivative Works as a
133
- whole, provided Your use, reproduction, and distribution of the Work otherwise
125
+ You may add Your own copyright statement to Your modifications and may provide
126
+ additional or different license terms and conditions for use, reproduction, or
127
+ distribution of Your modifications, or for any such Derivative Works as a
128
+ whole, provided Your use, reproduction, and distribution of the Work otherwise
134
129
  complies with the conditions stated in this License.
135
130
 
136
131
  5. Submission of Contributions.
137
132
 
138
- Unless You explicitly state otherwise, any Contribution intentionally submitted
139
- for inclusion in the Work by You to the Licensor shall be under the terms and
140
- conditions of this License, without any additional terms or conditions.
141
- Notwithstanding the above, nothing herein shall supersede or modify the terms
142
- of any separate license agreement you may have executed with Licensor regarding
133
+ Unless You explicitly state otherwise, any Contribution intentionally submitted
134
+ for inclusion in the Work by You to the Licensor shall be under the terms and
135
+ conditions of this License, without any additional terms or conditions.
136
+ Notwithstanding the above, nothing herein shall supersede or modify the terms
137
+ of any separate license agreement you may have executed with Licensor regarding
143
138
  such Contributions.
144
139
 
145
140
  6. Trademarks.
146
141
 
147
- This License does not grant permission to use the trade names, trademarks,
148
- service marks, or product names of the Licensor, except as required for
149
- reasonable and customary use in describing the origin of the Work and
142
+ This License does not grant permission to use the trade names, trademarks,
143
+ service marks, or product names of the Licensor, except as required for
144
+ reasonable and customary use in describing the origin of the Work and
150
145
  reproducing the content of the NOTICE file.
151
146
 
152
147
  7. Disclaimer of Warranty.
153
148
 
154
- Unless required by applicable law or agreed to in writing, Licensor provides
155
- the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS,
156
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied,
157
- including, without limitation, any warranties or conditions of TITLE,
158
- NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are
159
- solely responsible for determining the appropriateness of using or
160
- redistributing the Work and assume any risks associated with Your exercise of
149
+ Unless required by applicable law or agreed to in writing, Licensor provides
150
+ the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS,
151
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied,
152
+ including, without limitation, any warranties or conditions of TITLE,
153
+ NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are
154
+ solely responsible for determining the appropriateness of using or
155
+ redistributing the Work and assume any risks associated with Your exercise of
161
156
  permissions under this License.
162
157
 
163
158
  8. Limitation of Liability.
164
159
 
165
- In no event and under no legal theory, whether in tort (including negligence),
166
- contract, or otherwise, unless required by applicable law (such as deliberate
167
- and grossly negligent acts) or agreed to in writing, shall any Contributor be
168
- liable to You for damages, including any direct, indirect, special, incidental,
169
- or consequential damages of any character arising as a result of this License
170
- or out of the use or inability to use the Work (including but not limited to
171
- damages for loss of goodwill, work stoppage, computer failure or malfunction,
172
- or any and all other commercial damages or losses), even if such Contributor
160
+ In no event and under no legal theory, whether in tort (including negligence),
161
+ contract, or otherwise, unless required by applicable law (such as deliberate
162
+ and grossly negligent acts) or agreed to in writing, shall any Contributor be
163
+ liable to You for damages, including any direct, indirect, special, incidental,
164
+ or consequential damages of any character arising as a result of this License
165
+ or out of the use or inability to use the Work (including but not limited to
166
+ damages for loss of goodwill, work stoppage, computer failure or malfunction,
167
+ or any and all other commercial damages or losses), even if such Contributor
173
168
  has been advised of the possibility of such damages.
174
169
 
175
170
  9. Accepting Warranty or Additional Liability.
176
171
 
177
- While redistributing the Work or Derivative Works thereof, You may choose to
178
- offer, and charge a fee for, acceptance of support, warranty, indemnity, or
179
- other liability obligations and/or rights consistent with this License.
180
- However, in accepting such obligations, You may act only on Your own behalf and
181
- on Your sole responsibility, not on behalf of any other Contributor, and only
182
- if You agree to indemnify, defend, and hold each Contributor harmless for any
183
- liability incurred by, or claims asserted against, such Contributor by reason
172
+ While redistributing the Work or Derivative Works thereof, You may choose to
173
+ offer, and charge a fee for, acceptance of support, warranty, indemnity, or
174
+ other liability obligations and/or rights consistent with this License.
175
+ However, in accepting such obligations, You may act only on Your own behalf and
176
+ on Your sole responsibility, not on behalf of any other Contributor, and only
177
+ if You agree to indemnify, defend, and hold each Contributor harmless for any
178
+ liability incurred by, or claims asserted against, such Contributor by reason
184
179
  of your accepting any such warranty or additional liability.
185
180
 
186
181
  10. Noncompetition
187
182
 
188
- You may install and execute the Work only in conjunction with the direct use of
189
- AppNeta software. This Work, any file or any derivative thereof shall not be
190
- used in conjunction with any product that competes with any AppNeta software.
183
+ You may install and execute the Work only in conjunction with the direct use of
184
+ Librato software. This Work, any file or any derivative thereof shall not be
185
+ used in conjunction with any product that competes with any Librato software.
191
186
 
192
187
  11. Termination
193
188
 
194
- The License stated above is automatically terminated and revoked if you exceed
195
- its scope or violate any of the terms of this License or any related License or
189
+ The License stated above is automatically terminated and revoked if you exceed
190
+ its scope or violate any of the terms of this License or any related License or
196
191
  notice.
197
192
 
198
193
  END OF TERMS AND CONDITIONS
199
-
data/README.md CHANGED
@@ -1,22 +1,22 @@
1
1
  # Welcome to the TraceView Ruby Gem
2
2
 
3
- The traceview gem provides AppNeta [TraceView](http://www.appneta.com/application-performance-management/) performance instrumentation for Ruby.
3
+ The traceview gem provides [TraceView](https://traceview.solarwinds.com/) performance instrumentation for Ruby.
4
4
 
5
- ![Ruby TraceView](https://s3.amazonaws.com/pglombardo/oboe-ruby-header.png)
5
+ ![Ruby TraceView](http://docs.traceview.solarwinds.com/images/ruby_readme/oboe-ruby-header.png)
6
6
 
7
- It has the ability to report performance metrics on an array of libraries, databases and frameworks such as Rails, Mongo, Memcache, ActiveRecord, Cassandra, Rack, Resque [and more](https://docs.appneta.com/ruby-instrumentation-supported-components)
7
+ It has the ability to report performance metrics on an array of libraries, databases and frameworks such as Rails, Mongo, Memcache, ActiveRecord, Cassandra, Rack, Resque [and more](http://docs.traceview.solarwinds.com/Instrumentation/ruby.html#ruby-support-matrix).
8
8
 
9
- It requires a [TraceView](http://www.appneta.com/products/traceview/) account to view metrics. Get yours, [it's free](http://www.appneta.com/products/traceview-free-account/).
9
+ It requires a [TraceView](https://traceview.solarwinds.com/) account to view metrics. Get yours, [it's free](https://traceview.solarwinds.com/TraceView/Signup).
10
10
 
11
11
  [![Gem Version](https://badge.fury.io/rb/traceview.png)](https://badge.fury.io/rb/traceview)
12
- [![Build Status](https://travis-ci.org/appneta/ruby-traceview.png?branch=master)](https://travis-ci.org/appneta/ruby-traceview)
13
- [![Code Climate](https://codeclimate.com/github/appneta/ruby-traceview.png)](https://codeclimate.com/github/appneta/ruby-traceview)
12
+ [![Build Status](https://travis-ci.org/tracelytics/ruby-traceview.png?branch=master)](https://travis-ci.org/tracelytics/ruby-traceview)
13
+ [![Code Climate](https://codeclimate.com/github/tracelytics/ruby-traceview.png)](https://codeclimate.com/github/tracelytics/ruby-traceview)
14
14
 
15
- _Note: The repository name has been changed to ruby-traceview. Please update your github remotes with `git remote set-url origin git@github.com:appneta/ruby-traceview.git`._
15
+ _Note: The repository name has been changed to ruby-traceview. Please update your github remotes with `git remote set-url origin git@github.com:tracelytics/ruby-traceview.git`._
16
16
 
17
17
  # Installation
18
18
 
19
- _Before installing the gem below, make sure that you have the [base packages](http://docs.appneta.com/installation-overview#1-install-base-packages) installed on your host first._
19
+ _Before installing the gem below, make sure that you have the [base packages](http://docs.traceview.solarwinds.com/TraceView/install-instrumentation.html#install-base-packages) installed on your host first._
20
20
 
21
21
  The traceview gem is [available on Rubygems](https://rubygems.org/gems/traceview) and can be installed with:
22
22
 
@@ -34,7 +34,7 @@ gem 'traceview'
34
34
 
35
35
  ## Rails
36
36
 
37
- ![Ruby on Rails](http://www.appneta.com/images/logos/frameworks/rails.png)
37
+ ![Ruby on Rails](http://docs.traceview.solarwinds.com/images/ruby_readme/rails.png)
38
38
 
39
39
  No special steps are needed to instrument Ruby on Rails. Once part of the bundle, the traceview gem will automatically detect Rails and instrument on stack initialization.
40
40
 
@@ -42,7 +42,7 @@ No special steps are needed to instrument Ruby on Rails. Once part of the bundl
42
42
 
43
43
  ### The Install Generator
44
44
 
45
- The traceview gem provides a Rails generator used to seed an initializer where you can configure and control `tracing_mode` and [other options](https://docs.appneta.com/configuring-ruby-instrumentation)
45
+ The traceview gem provides a Rails generator used to seed an initializer where you can configure and control `tracing_mode` and [other options](http://docs.traceview.solarwinds.com/Instrumentation/ruby.html#configuring-instrumentation).
46
46
 
47
47
  To run the install generator run:
48
48
 
@@ -54,7 +54,7 @@ After the prompts, this will create an initializer: `config/initializers/tracevi
54
54
 
55
55
  ## Sinatra
56
56
 
57
- ![Sinatra](http://www.appneta.com/images/logos/frameworks/sinatra.png)
57
+ ![Sinatra](http://docs.traceview.solarwinds.com/images/ruby_readme/sinatra.png)
58
58
 
59
59
  You can instrument your Sinatra application by adding the following code to your `config.ru` Rackup file:
60
60
 
@@ -79,7 +79,7 @@ With this, the traceview gem will automatically detect Sinatra on boot and instr
79
79
 
80
80
  ## Padrino
81
81
 
82
- ![Padrino](http://www.appneta.com/images/logos/frameworks/padrino.png)
82
+ ![Padrino](http://docs.traceview.solarwinds.com/images/ruby_readme/padrino.png)
83
83
 
84
84
  As long as the traceview gem is in your `Gemfile` (inserted after the `gem 'padrino'` directive) and you are calling `Bundler.require`, the traceview gem will automatically instrument Padrino applications.
85
85
 
@@ -98,7 +98,7 @@ end
98
98
 
99
99
  ## Grape
100
100
 
101
- ![Grape](http://www.appneta.com/images/logos/frameworks/grape.png)
101
+ ![Grape](http://docs.traceview.solarwinds.com/images/ruby_readme/grape.png)
102
102
 
103
103
  You can instrument your Grape application by adding the following code to your `config.ru` Rackup file:
104
104
 
@@ -106,13 +106,13 @@ You can instrument your Grape application by adding the following code to your `
106
106
  # If you're not using Bundler.require. Make sure this is done
107
107
  # after the Grape require directive.
108
108
  require 'traceview'
109
-
109
+
110
110
  # When traces should be initiated for incoming requests. Valid options are
111
111
  # "always", "through" (when the request is initiated with a tracing header
112
112
  # from upstream) and "never". You must set this directive to "always" in
113
113
  # order to initiate tracing.
114
114
  TraceView::Config[:tracing_mode] = 'through'
115
-
115
+
116
116
  ...
117
117
 
118
118
  class App < Grape::API
@@ -146,7 +146,7 @@ Once inside of the `TraceView::API.start_trace` block, performance metrics will
146
146
 
147
147
  ## Other
148
148
 
149
- You can send deploy notifications to TraceView and have the events show up on your dashboard. See: [Capistrano Deploy Notifications with tlog](https://docs.appneta.com/capistrano-deploy-notifications-tlog)
149
+ You can send deploy notifications to TraceView and have the events show up on your dashboard. See: [Capistrano Deploy Notifications with tlog](http://docs.traceview.solarwinds.com/Instrumentation/ruby.html#report-deploy-notifications)
150
150
 
151
151
  # Custom Tracing
152
152
 
@@ -191,11 +191,11 @@ If, for example, you wanted to see the performance for the `Array::sort`, you co
191
191
  TraceView::API.profile_method(Array, :sort)
192
192
  ```
193
193
 
194
- For full documentation, options and reporting custom KVs, see our documentation on [method profiling](http://docs.appneta.com/ruby#profiling-ruby-methods).
194
+ For full documentation, options and reporting custom KVs, see our documentation on [method profiling](http://docs.traceview.solarwinds.com/Instrumentation/ruby.html#ruby-function-profiling).
195
195
 
196
196
  # Support
197
197
 
198
- If you find a bug or would like to request an enhancement, feel free to file an issue. For all other support requests, see our [support portal](https://tickets.appneta.com) or on IRC @ #appneta on [Freenode](http://freenode.net/).
198
+ If you find a bug or would like to request an enhancement, feel free to file an issue. For all other support requests, see our [support portal](https://tracelytics.freshdesk.com).
199
199
 
200
200
  # Contributing
201
201
 
@@ -205,13 +205,9 @@ We welcome you to send us PRs. We also humbly request that any new instrumentat
205
205
 
206
206
  ## Developer Resources
207
207
 
208
- We at AppNeta have made a large effort to expose as much technical information as possible to assist developers wishing to contribute to the traceview gem. Below are the three major sources for information and help for developers:
209
-
210
- * The [TraceView blog](http://www.appneta.com/blog) has a constant stream of great technical articles. (See [A Gentle X-Trace Introduction](http://www.appneta.com/blog/x-trace-introduction/) for details on the basic methodology that TraceView uses to gather structured performance data across hosts and stacks.)
208
+ We have made a large effort to expose as much technical information as possible to assist developers wishing to contribute to the traceview gem. Below is a good source for information and help for developers:
211
209
 
212
- * The [TraceView Documentation Portal](https://docs.appneta.com/ruby) has a large collection of technical articles or, if needed, you can [submit a support request](https://tickets.appneta.com) directly to the team.
213
-
214
- * You can also reach the TraceView team on our IRC channel #appneta on freenode.
210
+ * The [TraceView Knowledge Base](http://docs.traceview.solarwinds.com/) has a large collection of technical articles or, if needed, you can submit a support request directly to the team.
215
211
 
216
212
  If you have any questions or ideas, don't hesitate to contact us anytime.
217
213
 
@@ -297,8 +293,6 @@ Third, in our wrapper method, we capture the arguments passed in, collect the op
297
293
 
298
294
  The `TraceView::API.trace` method calls Dalli's native operation and reports the timing metrics and your custom `report_kvs` up to TraceView servers to be shown on the user's dashboard.
299
295
 
300
- That is a very quick example of a simple instrumentation implementation. If you have any questions, visit us on IRC in #appneta on Freenode.
301
-
302
296
  Some other tips and guidelines:
303
297
 
304
298
  * You can point your Gemfile directly at your cloned traceview gem source by using `gem 'traceview', :path => '/path/to/ruby-traceview'`
@@ -317,7 +311,7 @@ Some other tips and guidelines:
317
311
 
318
312
  ## Compiling the C extension
319
313
 
320
- The traceview gem utilizes a C extension to interface with the system `liboboe.so` library. This system library is installed with the TraceView host packages (tracelyzer, liboboe0, liboboe-dev) and is used to report [host](http://www.appneta.com/blog/app-host-metrics/) and performance metrics from multiple sources (Ruby, Apache, Python etc.) back to TraceView servers.
314
+ The traceview gem utilizes a C extension to interface with the system `liboboe.so` library. This system library is installed with the TraceView host packages (tracelyzer, liboboe0, liboboe-dev) and is used to report host and performance metrics from multiple sources (Ruby, Apache, Python etc.) back to TraceView servers.
321
315
 
322
316
  C extensions are usually built on `gem install` but when working out of a local git repository, it's required that you manually build this C extension for the gem to function.
323
317
 
@@ -333,11 +327,11 @@ Note: Make sure you have the development package `liboboe0-dev` installed before
333
327
 
334
328
  ```bash
335
329
  >>$ dpkg -l | grep liboboe
336
- ii liboboe-dev 1.2.1-trusty1 AppNeta TraceView common library -- development files
337
- ii liboboe0 1.2.1-trusty1 AppNeta Traceview common library
330
+ ii liboboe-dev 1.2.1-trusty1 TraceView common library -- development files
331
+ ii liboboe0 1.2.1-trusty1 Traceview common library
338
332
  ```
339
333
 
340
- See [Installing Base Packages on Debian and Ubuntu](https://docs.appneta.com/installation-overview) in the Knowledge Base for details. Our hacker extraordinaire [Rob Salmond](https://github.com/rsalmond) from the support team has even gotten these packages to [run on Gentoo](http://www.appneta.com/blog/unsupported-doesnt-work/)!
334
+ See [Installing Base Packages on Debian and Ubuntu](http://docs.traceview.solarwinds.com/TraceView/install-instrumentation.html#debian-and-ubuntu) in the Knowledge Base for details.
341
335
 
342
336
  To see the code related to the C extension, take a look at `ext/oboe_metal/extconf.rb` for details.
343
337
 
@@ -345,7 +339,7 @@ You can read more about Ruby gems with C extensions in the [Rubygems Guides](htt
345
339
 
346
340
  ## Running the Tests
347
341
 
348
- ![TraceView Ruby Tests](https://s3.amazonaws.com/appneta/tv_ruby_tests.png)
342
+ ![TraceView Ruby Tests](http://docs.traceview.solarwinds.com/images/ruby_readme/tv_ruby_tests.png)
349
343
 
350
344
  The tests bundled with the gem are implemented using [Minitest](https://github.com/seattlerb/minitest). The tests are currently used to validate the sanity of the traces generated and basic gem functionality.
351
345
 
@@ -369,7 +363,6 @@ We humbly request that any submitted instrumentation is delivered with correspon
369
363
 
370
364
  # License
371
365
 
372
- Copyright (c) 2014 Appneta
373
-
374
- Released under the [AppNeta Open License](http://www.appneta.com/appneta-license), Version 1.0
366
+ Copyright (c) 2016 SolarWinds, LLC
375
367
 
368
+ Released under the [Librato Open License](http://docs.traceview.solarwinds.com/Instrumentation/librato-open-license.html)