apollo-studio-tracing 1.0.0.beta.1 → 1.0.0.beta.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: 5e5e5b59a3310a3863053df2f9a0534ad3b0ce2faa60b6ce69803be0be1c9a24
4
- data.tar.gz: 604ad5829a5fc0034d2afed4ce72aff5679648fd8a3976683efc9a2bd36b3e7e
3
+ metadata.gz: a0245b851f9097ea68a63c2ee597623fd78fe996815ecb1ede6c0eb0bc099ee5
4
+ data.tar.gz: 4825aca433b5ecbe2e92cad72bec693385bc36deff5b359f1b89e4ada93ce62a
5
5
  SHA512:
6
- metadata.gz: d4439961889fdd4f5bbd6810b9293e2fd4eeb0e9056faa096e406ef32994efde30ae0b85d1b7930336d5b25c0195b24f386e40c228c53d569f05c0db3cff74fc
7
- data.tar.gz: 82036596d4287c2a10b82b00ef79e602430efb0b9d95682ba87d1a109d62498fc662a3a0d5d5ddd6522307276858ebb4e11d9e9f3d48ff5de6c98d0cae8008db
6
+ metadata.gz: 6788426088d1ba3ab7a7b0413b204ed27a4d8f1bb925971cd1519f8dffa4b310513d192690048f625792f96fb2993754260f3e6b2f69f431f5b50e2079381210
7
+ data.tar.gz: edcb041873543ebf79b69d4b373bcaba4c6dfdc18f7c31260565dc345dc1d07ff647e2245ec74a31b263d70fbff78c13e7cf9a62f60030afceb5a3894cc37418
@@ -1,3 +1,10 @@
1
+ # [1.0.0-beta.2](https://github.com/EnjoyTech/apollo-studio-tracing-ruby/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2020-10-30)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **tracing:** avoid trapping SIGINT, just use `at_exit` ([455a6fe](https://github.com/EnjoyTech/apollo-studio-tracing-ruby/commit/455a6fe14764949b8ffd303f7082c9f01eff3ca5))
7
+
1
8
  # [1.0.0-beta.1](https://github.com/EnjoyTech/apollo-studio-tracing-ruby/compare/v0.1.0...v1.0.0-beta.1) (2020-10-23)
2
9
 
3
10
 
@@ -32,9 +32,7 @@ module ApolloStudioTracing
32
32
  tracers.each(&:shutdown_trace_channel)
33
33
  end
34
34
 
35
- trap('SIGINT') do
36
- Thread.new { shutdown }
37
- end
35
+ at_exit { shutdown }
38
36
 
39
37
  private
40
38
 
@@ -104,6 +104,7 @@ module ApolloStudioTracing
104
104
  def shutdown
105
105
  return unless @uploader_thread
106
106
 
107
+ ApolloStudioTracing.logger.info('Shutting down Apollo trace channel...')
107
108
  @shutdown_barrier.shutdown
108
109
  @uploader_thread.join
109
110
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ApolloStudioTracing
4
- VERSION = '1.0.0.beta.1'
4
+ VERSION = '1.0.0.beta.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apollo-studio-tracing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta.1
4
+ version: 1.0.0.beta.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luke Saniwck
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-23 00:00:00.000000000 Z
11
+ date: 2020-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphql