gitlab-labkit 5.14.0 → 5.15.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.
- checksums.yaml +4 -4
- data/.copier-answers.yml +1 -1
- data/.gitlab-ci.yml +1 -1
- data/lib/labkit/fields.rb +7 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d7c3b8638f22285a6020190206ba2ef09bf607f6372f8461a23f40631d8ae3c2
|
|
4
|
+
data.tar.gz: a0d2f1f4d333c405cb0c0d00960c05e4f8718635f416b6e081e6a533bb61db51
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4cf90b4cbc1acc56e4bf174b9e8760353efa72c1454c81873352645ca844672c99d5c372b35616fc6b4690e3c038c0922caaffe56836f61e0a2302a241296b59
|
|
7
|
+
data.tar.gz: 4c973e957e738f566f58528d5749fe0f3f8e17182bf66a3988c386d1b54c7a3933ae56ce75a4c9c56478c9b34fa10f00a71dbf404c6e1a4bc5ed91f3001bfcad
|
data/.copier-answers.yml
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# See the project for instructions on how to update the project
|
|
4
4
|
#
|
|
5
5
|
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
|
|
6
|
-
_commit: v1.
|
|
6
|
+
_commit: v1.91.0
|
|
7
7
|
_src_path: https://gitlab.com/gitlab-com/gl-infra/common-template-copier.git
|
|
8
8
|
ee_licensed: false
|
|
9
9
|
gitlab_namespace: gitlab-org/ruby/gems
|
data/.gitlab-ci.yml
CHANGED
data/lib/labkit/fields.rb
CHANGED
|
@@ -165,6 +165,12 @@ module Labkit
|
|
|
165
165
|
# service's HTTP and gRPC access logs can be told apart.
|
|
166
166
|
SYSTEM = "system"
|
|
167
167
|
|
|
168
|
+
# Distinct feature categories declared by the root fields a GraphQL
|
|
169
|
+
# operation selects, sorted and comma-separated (e.g.
|
|
170
|
+
# "team_planning,user_profile"). Empty or absent when no root field declares
|
|
171
|
+
# a feature category.
|
|
172
|
+
GRAPHQL_ROOT_FIELD_FEATURE_CATEGORIES = "graphql_root_field_feature_categories"
|
|
173
|
+
|
|
168
174
|
# Maps each field constant to its logging field variant version.
|
|
169
175
|
# A version of 0 means the field is not yet assigned to any variant.
|
|
170
176
|
VARIANT_VERSION = {
|
|
@@ -212,6 +218,7 @@ module Labkit
|
|
|
212
218
|
GRAPHQL_COMPLEXITY_RAW => 0,
|
|
213
219
|
GRAPHQL_CONNECTION_NODES => 0,
|
|
214
220
|
SYSTEM => 0,
|
|
221
|
+
GRAPHQL_ROOT_FIELD_FEATURE_CATEGORIES => 0,
|
|
215
222
|
}.freeze
|
|
216
223
|
|
|
217
224
|
# Get the constant name for a field value
|