gitlab-labkit 5.4.0 → 5.5.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/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: 3fe9b7fbeed18b9aced46d0f50b8e0aeeb4442a164818ed00f581a39559a2203
|
|
4
|
+
data.tar.gz: 5362ebd8bd9d8f3cf598dd473be4a1078ed1b5eda9e11723c6bba35e5b5ad62c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a8e09616bd24dc1e5b619ae05c426451ef0b1cb40305832dfd52b04e801cd2f490823cb45592e101469f3cee4edca5a4f6d2190ddcfbded59e0e1282fc5fe01a
|
|
7
|
+
data.tar.gz: 5103ce4264e6fca52740485de4c81e17feedeb31c493b2aaeda35a0ecdedbd47c043ec77a15371a1eb949a48c8341393c4fc09bee5458d958de83b195315def8
|
data/lib/labkit/fields.rb
CHANGED
|
@@ -143,6 +143,12 @@ module Labkit
|
|
|
143
143
|
# can be a non-integer value.
|
|
144
144
|
GRAPHQL_COMPLEXITY_RAW = "graphql_complexity_raw"
|
|
145
145
|
|
|
146
|
+
# Number of nodes a GraphQL query returned across all its connection fields.
|
|
147
|
+
# The count is taken after authorization removes the nodes the user can't
|
|
148
|
+
# see. Nested connections add up. The value is 0 when the query selects no
|
|
149
|
+
# connection field.
|
|
150
|
+
GRAPHQL_CONNECTION_NODES = "graphql_connection_nodes"
|
|
151
|
+
|
|
146
152
|
# Maps each field constant to its logging field variant version.
|
|
147
153
|
# A version of 0 means the field is not yet assigned to any variant.
|
|
148
154
|
VARIANT_VERSION = {
|
|
@@ -185,6 +191,7 @@ module Labkit
|
|
|
185
191
|
GL_SENT_NOTIFICATION_ID => 0,
|
|
186
192
|
ADDITIONAL_DETAILS => 0,
|
|
187
193
|
GRAPHQL_COMPLEXITY_RAW => 0,
|
|
194
|
+
GRAPHQL_CONNECTION_NODES => 0,
|
|
188
195
|
}.freeze
|
|
189
196
|
|
|
190
197
|
# Get the constant name for a field value
|