opentelemetry-resource_detectors 0.24.1 → 0.24.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: 3296f70f1d1294b5cab724c6dd8715e1ea971051bd83f2d88e5307363cbbe18e
4
- data.tar.gz: 78b8beea961ec603853f0a87b4e95fadb14401c03f2d466e99c6f26ec3d2facb
3
+ metadata.gz: b9a952c3aaaac575719a48e3e3f42201bf3d76dcdd9f0b2b8f01748400407c39
4
+ data.tar.gz: 3369c59b3914eca19d1d750b098635872d50b1db87ba7e570d41440107bf8c48
5
5
  SHA512:
6
- metadata.gz: f0af65f89c8a570a6d16645bd9910a61705e8a41923d41e44bc7740d84d7062cc972e0be79adb618d6d95cc93ded76aac8d846324bff257fcfbb89047d57bfa1
7
- data.tar.gz: 390b24f7b7e44dc1aac258a05a6b1e979ad1be6b07bfb2cf6b1c1aacf033a35beba57cc47bb038753423594ae4da822bd02198c087272ef1ea668801f90896ca
6
+ metadata.gz: a07e8491fb30b3db024e99cd2fa268ecd94f67eef70b767954df7233480864cefba1a7c95d50654921dd9c2a870278d164d4215e164a9d524f052a6621e145b1
7
+ data.tar.gz: 2613d9cf1c132b42555eb951773bbdbb2085bfdd5018bd4dacd080ea9fa0e20fddc92089dd4e1072a445ef888c8f48bfe8e43fcba593776ae8afe516d35c32dd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release History: opentelemetry-resource_detectors
2
2
 
3
+ ### v0.24.2 / 2023-09-07
4
+
5
+ * CHANGED: split resource_detectors into their own gems
6
+
7
+ ### v0.24.1 / 2023-08-03
8
+
9
+ * FIXED: Remove inline linter rules
10
+
3
11
  ### v0.24.0 / 2023-08-02
4
12
 
5
13
  * ADDED: Add container resource detector
@@ -96,11 +104,3 @@
96
104
 
97
105
  * FIXED: Rename Resource labels to attributes
98
106
  * ADDED: Environment variable resource detection
99
-
100
- ### v0.24.1 / 2023-08-03
101
-
102
- * FIXED: Remove inline linter rules
103
-
104
- ### v0.24.0 / 2023-08-02
105
-
106
- * ADDED: Add container resource detector.
@@ -10,12 +10,20 @@ module OpenTelemetry
10
10
  module Resource
11
11
  module Detectors
12
12
  # Azure contains detect class method for determining Azure environment resource attributes
13
+ #
14
+ # This gem has been moved into a separate gem:
15
+ # opentelemetry-resource-detector-azure
16
+ #
17
+ # Log a warning if someone still uses this gem for Azure Resource Detection
13
18
  module Azure
14
19
  extend self
15
20
 
16
21
  AZURE_METADATA_URI = 'http://169.254.169.254/metadata/instance/compute?api-version=2019-08-15'
17
22
 
18
23
  def detect
24
+ OpenTelemetry.logger.warn('Azure resource detector - The Azure resource detector has been moved to a separate gem. ' \
25
+ 'Please use the "opentelemetry-resource-detector-azure" gem onwards.')
26
+
19
27
  metadata = azure_metadata
20
28
  resource_attributes = {}
21
29
 
@@ -10,10 +10,18 @@ module OpenTelemetry
10
10
  module Resource
11
11
  module Detectors
12
12
  # GoogleCloudPlatform contains detect class method for determining gcp environment resource attributes
13
+ #
14
+ # This gem has been moved into a separate gem:
15
+ # opentelemetry-resource-detector-google_cloud_platform
16
+ #
17
+ # Log a warning if someone still uses this gem for GoogleCloudPlatform Resource Detection
13
18
  module GoogleCloudPlatform
14
19
  extend self
15
20
 
16
21
  def detect
22
+ OpenTelemetry.logger.warn('GoogleCloudPlatform resource detector - The GoogleCloudPlatform resource detector has been moved to a separate gem. ' \
23
+ 'Please use the "opentelemetry-resource-detector-google_cloud_platform" gem onwards.')
24
+
17
25
  gcp_env = Google::Cloud::Env.new
18
26
  resource_attributes = {}
19
27
 
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Resource
9
9
  module Detectors
10
- VERSION = '0.24.1'
10
+ VERSION = '0.24.2'
11
11
  end
12
12
  end
13
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-resource_detectors
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.1
4
+ version: 0.24.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-07 00:00:00.000000000 Z
11
+ date: 2023-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-env
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 1.55.1
89
+ version: 1.56.1
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 1.55.1
96
+ version: 1.56.1
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: simplecov
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -136,20 +136,6 @@ dependencies:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0.9'
139
- - !ruby/object:Gem::Dependency
140
- name: yard-doctest
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - "~>"
144
- - !ruby/object:Gem::Version
145
- version: 0.1.6
146
- type: :development
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - "~>"
151
- - !ruby/object:Gem::Version
152
- version: 0.1.6
153
139
  description: Resource detection helpers for OpenTelemetry
154
140
  email:
155
141
  - cncf-opentelemetry-contributors@lists.cncf.io
@@ -171,11 +157,12 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
171
157
  licenses:
172
158
  - Apache-2.0
173
159
  metadata:
174
- changelog_uri: https://rubydoc.info/gems/opentelemetry-resource_detectors/0.24.1/file/CHANGELOG.md
160
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-resource_detectors/0.24.2/file/CHANGELOG.md
175
161
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/resource_detectors
176
162
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
177
- documentation_uri: https://rubydoc.info/gems/opentelemetry-resource_detectors/0.24.1
178
- post_install_message:
163
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-resource_detectors/0.24.2
164
+ post_install_message: This gem has been deprecated. Please use opentelemetry-resource-detector-azure
165
+ or opentelemetry-resource-detector-google_cloud_platform onwards.
179
166
  rdoc_options: []
180
167
  require_paths:
181
168
  - lib