gitlab-labkit 2.5.0 → 2.6.0

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/labkit/fields.rb +13 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 56e915f4c8d7e206c94fc8b2392466598ce04d6e81c8ac3302778c5fc02ee2d1
4
- data.tar.gz: 53092edbcdb67c099fd8ffa9617d4de51580856293de4bb94e9d75ad8727dd26
3
+ metadata.gz: 15a3589c7770e0c9368d19d4acb2365fb627f40a7a2c3dd65c03057399585036
4
+ data.tar.gz: 2f45f67fd34c8031306f1cf7197e69f82d19215dc3fdb6fcb38ff1ff0b5fd804
5
5
  SHA512:
6
- metadata.gz: 85589bdd3f7daaf47e62c404267bf2b669cd89c9ca4ad0a7b4a30747316d9b397b710f2bc56d069da0e0141cef18cf58061b1e13e09715aa812177343f38dae2
7
- data.tar.gz: 13cb4e20ec4be4dc8aa2c97b339c071e747bc18d54e36144a14249ca956b0f834558d0e4ac2a0e547d02467338438d27fe96c04f83d508089265f8d2cd54a095
6
+ metadata.gz: c6858aecff6a32e4ca9b3b9c4b512b43de320b9f7b838348bb83de3d878a910b20169f64634c41bea4bdfa9f67db94ee2bf84864353e453296f8d40fd8d1934a
7
+ data.tar.gz: e4a9d5ac76d5e4b43220a469d7557c1bbfffb4fe9abb171978ee427981623ef4b1f1a20cde3c9b8c818b83e268eb0b509201a53f4aa47b74e924127ae03186b5
data/lib/labkit/fields.rb CHANGED
@@ -90,6 +90,12 @@ module Labkit
90
90
  # GitLab pipeline numeric ID.
91
91
  GL_PIPELINE_ID = "gl_pipeline_id"
92
92
 
93
+ # GitLab namespace numeric ID.
94
+ GL_NAMESPACE_ID = "gl_namespace_id"
95
+
96
+ # GitLab root (top-level) namespace numeric ID.
97
+ GL_ROOT_NAMESPACE_ID = "gl_root_namespace_id"
98
+
93
99
  # Log event timestamp in ISO 8601 format (e.g. "2026-04-02T12:00:00.000Z").
94
100
  TIMESTAMP = "timestamp"
95
101
 
@@ -122,6 +128,10 @@ module Labkit
122
128
  # The endpoint_id of the original caller at the root of the call chain.
123
129
  ROOT_CALLER_ID = "root_caller_id"
124
130
 
131
+ # GitLab SentNotification record numeric ID associated with an incoming
132
+ # email reply.
133
+ GL_SENT_NOTIFICATION_ID = "gl_sent_notification_id"
134
+
125
135
  # Maps each field constant to its logging field variant version.
126
136
  # A version of 0 means the field is not yet assigned to any variant.
127
137
  VARIANT_VERSION = {
@@ -149,6 +159,8 @@ module Labkit
149
159
  TTFB_S => 0,
150
160
  GL_PROJECT_ID => 1,
151
161
  GL_PIPELINE_ID => 1,
162
+ GL_NAMESPACE_ID => 0,
163
+ GL_ROOT_NAMESPACE_ID => 0,
152
164
  TIMESTAMP => 0,
153
165
  SEVERITY => 0,
154
166
  LOG_MESSAGE => 1,
@@ -159,6 +171,7 @@ module Labkit
159
171
  ENDPOINT_ID => 0,
160
172
  CALLER_ID => 1,
161
173
  ROOT_CALLER_ID => 0,
174
+ GL_SENT_NOTIFICATION_ID => 0,
162
175
  }.freeze
163
176
 
164
177
  # Get the constant name for a field value
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-labkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: 2.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Newdigate