highlight_io 0.1.3 → 0.1.4

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
  SHA256:
3
- metadata.gz: 0754bd5234409590b25053645a3645641bc25e6ff10f1b12fdedde96ad1036f8
4
- data.tar.gz: a40001ec81b927edbddf710f0299cd1371058df4a7252c5e8d82e8fa98f4dbc2
3
+ metadata.gz: '097aa8d0420fe1617bba3f9bc5358b4f4a4b33fc86c9100add607f0000a21a31'
4
+ data.tar.gz: 9c2a3730d42efa5fe5fe7b2406d6e74b660cde344a72842845834f998ccdfc6d
5
5
  SHA512:
6
- metadata.gz: 8aadb4954b99be1d65d60e650e34f6f6475dd8c144e582a548d67e16d69c2b251ff65a2435e15e15e1007f50dc6fab168f50d0a42f7ac6851bba964fa7e874cf
7
- data.tar.gz: 7627e7ca87a7150954875bc046a22a61f8cdd278b9efd615abbcb46d5b156e42d9b9e603b4773c2deae4f8b7dd32336004113702031872cbfcbefa1a10fe11e4
6
+ metadata.gz: 8d8a6b916b6ae7dee9a47c86e8ffba1da90c60b2ccdf12ca44b768f7e6022189377688ec24fa7efdef5defe78b3ee706dff681e447a41e0b082f7c2f182d5b0d
7
+ data.tar.gz: '00832a7b4bdad74f86c8d488705eb5f979c2bd05d94ca963afed72fd5d86377e8890630ecb137f5605f3bf16a0b0c7090280ece588378ba0022bff8adc5e2944'
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
1
  ## 0.1.2
2
2
 
3
3
  - Add ability to set `service_name` and `service_version`
4
+
5
+ ## 0.1.4
6
+
7
+ - Tune settings of opentelemetry SDK to reduce memory usage.
8
+ - Enable GZIP compression of exported data.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- highlight_io (0.1.3)
4
+ highlight_io (0.1.4)
5
5
  grpc (~> 1.52)
6
6
  opentelemetry-exporter-otlp (~> 0.24.0)
7
7
  opentelemetry-instrumentation-all (~> 0.32.0)
@@ -12,10 +12,10 @@ GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
14
  ast (2.4.2)
15
- google-protobuf (3.23.4)
15
+ google-protobuf (3.23.4-x86_64-linux)
16
16
  googleapis-common-protos-types (1.8.0)
17
17
  google-protobuf (~> 3.18)
18
- grpc (1.57.0)
18
+ grpc (1.57.0-x86_64-linux)
19
19
  google-protobuf (~> 3.23)
20
20
  googleapis-common-protos-types (~> 1.0)
21
21
  json (2.6.3)
@@ -231,7 +231,7 @@ GEM
231
231
  unicode-display_width (2.4.2)
232
232
 
233
233
  PLATFORMS
234
- ruby
234
+ x86_64-linux
235
235
 
236
236
  DEPENDENCIES
237
237
  highlight_io!
@@ -1,3 +1,3 @@
1
1
  module Highlight
2
- VERSION = '0.1.3'.freeze
2
+ VERSION = '0.1.4'.freeze
3
3
  end
data/lib/highlight.rb CHANGED
@@ -30,7 +30,9 @@ module Highlight
30
30
 
31
31
  OpenTelemetry::SDK.configure do |c|
32
32
  c.add_span_processor(OpenTelemetry::SDK::Trace::Export::BatchSpanProcessor.new(
33
- OpenTelemetry::Exporter::OTLP::Exporter.new(endpoint: "#{@otlp_endpoint}/v1/traces")
33
+ OpenTelemetry::Exporter::OTLP::Exporter.new(
34
+ endpoint: "#{@otlp_endpoint}/v1/traces", compression: 'gzip'
35
+ ), schedule_delay: 1000, max_export_batch_size: 128, max_queue_size: 1024
34
36
  ))
35
37
  yield c if block_given?
36
38
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: highlight_io
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Highlight
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-08-23 00:00:00.000000000 Z
11
+ date: 2023-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc