epsagon 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/epsagon.rb +6 -6
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 98d6993dedabe8fbc959569568d7c2ba3275f9b474bb7846df066b6d406ceb58
4
- data.tar.gz: bd37e34d099293df8f9fa07189a40c1c6d3e10d58adb45298fc0bb55524c0017
3
+ metadata.gz: 808ee2781331d674be9e661fdb982402a9fa118a7e530226334dac758ce80dbb
4
+ data.tar.gz: 370aad1ea87d60e10ffa0b0c6777951c290aaacb2074a6556b6b77a41f9606d3
5
5
  SHA512:
6
- metadata.gz: 6dc01e0e49dcf9e2d211ce8b0c2d48e6b74cadf5063f0e06119f3593092414f22572f836ec28980c8d4174c57e37f83a6722b0ffbc534e6bb27764c173c50ac6
7
- data.tar.gz: 0ce2dc315d5a5b2d6ccbfeba4379874d7fd9c31d9dadde2b1954bf4efe8d8c2f495dec0041814516dd7f04f4c0f3aa2c944ecd87a55d0d8cd34e3578c119a945
6
+ metadata.gz: 223f608c05ddf216c1db46709d234604af81dca746fe16d5c4f24e89618450313c6e8a972f35fa2c2f5c6aa4b5811cd97e638d625dde9a1d5b0bc9a00575cf92
7
+ data.tar.gz: 5317d3432c01890de86919a5415322ed151002d12058027fa890cffa34ee32818d3e87e1d4484b5317aa1ab7c9047bf9347c2d5cf71e5718791ac6766e0163eb
data/lib/epsagon.rb CHANGED
@@ -59,12 +59,12 @@ module Epsagon
59
59
  OpenTelemetry::SDK::Trace::Export::ConsoleSpanExporter.new
60
60
  )
61
61
  else
62
- configurator.add_span_processor OpenTelemetry::SDK::Trace::Export::SimpleSpanProcessor.new(
63
- OpenTelemetry::Exporter::OTLP::Exporter.new(headers: {
64
- 'x-epsagon-token' => @@epsagon_config[:token]
65
- },
66
- endpoint: @@epsagon_config[:backend],
67
- insecure: @@epsagon_config[:insecure] || false)
62
+ configurator.add_span_processor OpenTelemetry::SDK::Trace::Export::BatchSpanProcessor.new(
63
+ exporter: OpenTelemetry::Exporter::OTLP::Exporter.new(headers: {
64
+ 'x-epsagon-token' => @@epsagon_config[:token]
65
+ },
66
+ endpoint: @@epsagon_config[:backend],
67
+ insecure: @@epsagon_config[:insecure] || false)
68
68
  )
69
69
  end
70
70
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epsagon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Epsagon