zuora_observability 0.2.0 → 0.2.1

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: 1a94e262b55a7a805865de68758223aa220ac3a5629e9cd40e80c02866b88b47
4
- data.tar.gz: e96b42e4ecd613654b5a459081804b06e8e88c4140a37170f5c52fce29eaed31
3
+ metadata.gz: c70da599b5f58c9c64c94febb1259133533e4040f39af07ec088d29f8ae2fa2d
4
+ data.tar.gz: f77f964a6703ce134275d6d28b086544e1697a9254d6dae8f7929938e6212595
5
5
  SHA512:
6
- metadata.gz: a77e6d19eb74c9b0bfd16459e71eefc15ebadd70f32a0e7d88280644db96ac6ba716100007380d883f7431bd90d430a1670aa1f2c312cf86c188fcf8f1ad04eb
7
- data.tar.gz: 826a76a11e9b47b6a7bf79e91c013f493cb038ffbe3a217f3fa78f7a3740ffa94c625778cb859a675bcbb678865b92153eaadc651802b251b4d03f7d06fadb71
6
+ metadata.gz: 5b0091b662abd97dfc9dbcea538d536d89c20599625df07b3255f3497398ae5af2950c753ea6e2de04acd8d93970ab645f456657eadc8ba500237b8904a237c4
7
+ data.tar.gz: f7145ed21ecb89bece952cda564d6a23019ef89616bb9b717712c97d11388396b930132cd65e018014531c0aa3187a9c3aaa7bcc6f2f8a10e63200a71fac4474
@@ -146,7 +146,6 @@ module ZuoraObservability
146
146
 
147
147
  def base_fields(data)
148
148
  {
149
- apartment_id: data[:app_instance_id],
150
149
  cp_id: data[:zuora_track_id],
151
150
  environment: data[:environment],
152
151
  tenant_id: data[:tenant_ids],
@@ -165,7 +164,9 @@ module ZuoraObservability
165
164
 
166
165
  # Service's Custom Fields
167
166
  def service_fields(data)
168
- data[:zecs_service].presence || {}
167
+ {
168
+ app_instance_id: data[:app_instance_id]
169
+ }.merge(data.fetch(:zecs_service, {})).compact
169
170
  end
170
171
  end
171
172
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ZuoraObservability
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zuora_observability
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hartley McGuire
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-09 00:00:00.000000000 Z
11
+ date: 2021-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lograge
@@ -244,8 +244,6 @@ files:
244
244
  - MIT-LICENSE
245
245
  - README.md
246
246
  - Rakefile
247
- - app/assets/config/zuora_observability_manifest.js
248
- - app/assets/stylesheets/zuora_observability/application.css
249
247
  - app/controllers/zuora_observability/application_controller.rb
250
248
  - app/controllers/zuora_observability/metrics_controller.rb
251
249
  - app/helpers/zuora_observability/application_helper.rb
@@ -1 +0,0 @@
1
- //= link_directory ../stylesheets/zuora_observability .css
@@ -1,15 +0,0 @@
1
- /*
2
- * This is a manifest file that'll be compiled into application.css, which will include all the files
3
- * listed below.
4
- *
5
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
7
- *
8
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
- * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
10
- * files in this directory. Styles in this file should be added after the last require_* statement.
11
- * It is generally better to create a new file per style scope.
12
- *
13
- *= require_tree .
14
- *= require_self
15
- */