inst_data_shipper 0.2.8 → 0.2.9

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: 75cf640fef52a5846408607d92b4cbeaedefec03e733542508c17ea245b7d3cf
4
- data.tar.gz: 07bae82a7237af5d1720503a45f35208711c299c05485adc02f045de65462e49
3
+ metadata.gz: b902e0c10943431dd1b7a1732d2c3463f10218bec99949513c291e41f0b4b50f
4
+ data.tar.gz: a14c726114ee103da8bb666f9dc46ea6845f715bf9feb86a43011b6b1d7cf5e7
5
5
  SHA512:
6
- metadata.gz: 81cb6a9801d399f0952f74083506938f9e3fd68b966a1afa4c24cbd9df393659ef01c1c4ae5cbd3a526809c2c1214966b798a9e30727d059fdfc00730a6931a1
7
- data.tar.gz: 39930b880f8acd83230fda54bf559c9deb7fc95a31039212b7ab92eb81cc69b270cc0ed6e28237f0449a6e314146082d4c1f3203cc176eacf0b8c75dc6d3407f
6
+ metadata.gz: 7818c49b771b33c8137e38f12a0f58d16aaf34c69b327ff83ad9a7bc0060d6baa76af0cc7b6ca70277a79753dd2fe997d96ec6bf2d8788b31e64e23c411f0551
7
+ data.tar.gz: 97c8d2c5ae3050d803b0543b468494b121f3f7eb6de67b1df34a904c87ce35008682da067d91e32e59190006b3709afa0c3cdfbfc5a64536ad73d52a47c31081
@@ -7,6 +7,18 @@ module InstDataShipper
7
7
 
8
8
  before_perform do
9
9
  @start_time = DateTime.now
10
+ apply_apm_tags!
11
+ end
12
+
13
+ def apply_apm_tags!
14
+ if defined?(Sentry)
15
+ scope = Sentry.get_current_scope
16
+ ctx = CanvasSync::JobBatches::Batch.current_context
17
+ scope.set_tags({
18
+ "ids.dump_batch_id" => ctx[:tracker_id],
19
+ "ids.dumper_class" => ctx[:origin_class],
20
+ })
21
+ end
10
22
  end
11
23
 
12
24
  around_perform :cleanup_working_dir
@@ -1,3 +1,3 @@
1
1
  module InstDataShipper
2
- VERSION = "0.2.8".freeze
2
+ VERSION = "0.2.9".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inst_data_shipper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure CustomDev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-11-04 00:00:00.000000000 Z
11
+ date: 2026-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails