Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-07-12 15:09:39 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-07-12 15:09:39 +0300
commitf81141c25d0dd79de8c07559bf268cb6e0d287d3 (patch)
treea0f700b90845f738cc2037cbbfb7a980c36137ac /app/validators
parent12de063de4663766a43d6c3e0883a686d66ab401 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/validators')
-rw-r--r--app/validators/json_schemas/error_tracking_event_payload.json111
1 files changed, 9 insertions, 102 deletions
diff --git a/app/validators/json_schemas/error_tracking_event_payload.json b/app/validators/json_schemas/error_tracking_event_payload.json
index 79e81672d0e..19abde7de08 100644
--- a/app/validators/json_schemas/error_tracking_event_payload.json
+++ b/app/validators/json_schemas/error_tracking_event_payload.json
@@ -2,6 +2,9 @@
"description": "Error tracking event payload",
"type": "object",
"required": [],
+ "modules": {
+ "type": "object"
+ },
"properties": {
"event_id": {
"type": "string"
@@ -73,28 +76,7 @@
}
},
"trace": {
- "type": "object",
- "required": [],
- "properties": {
- "trace_id": {
- "type": "string"
- },
- "span_id": {
- "type": "string"
- },
- "parent_span_id": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "op": {
- "type": "string"
- },
- "status": {
- "type": "string"
- }
- }
+ "type": "object"
}
}
},
@@ -118,52 +100,13 @@
"type": "string"
},
"data": {
- "type": "object",
- "required": [],
- "properties": {
- "controller": {
- "type": "string"
- },
- "action": {
- "type": "string"
- },
- "params": {
- "type": "object",
- "required": [],
- "properties": {
- "controller": {
- "type": "string"
- },
- "action": {
- "type": "string"
- }
- }
- },
- "format": {
- "type": "string"
- },
- "method": {
- "type": "string"
- },
- "path": {
- "type": "string"
- },
- "start_timestamp": {
- "type": "number"
- }
- }
- },
- "level": {
- "type": "string"
+ "type": "object"
},
"message": {
"type": "string"
},
"timestamp": {
"type": "number"
- },
- "type": {
- "type": "string"
}
}
}
@@ -199,37 +142,7 @@
"type": "string"
},
"headers": {
- "type": "object",
- "required": [],
- "properties": {
- "Host": {
- "type": "string"
- },
- "User-Agent": {
- "type": "string"
- },
- "Accept": {
- "type": "string"
- },
- "Accept-Language": {
- "type": "string"
- },
- "Accept-Encoding": {
- "type": "string"
- },
- "Referer": {
- "type": "string"
- },
- "Turbolinks-Referrer": {
- "type": "string"
- },
- "Connection": {
- "type": "string"
- },
- "X-Request-Id": {
- "type": "string"
- }
- }
+ "type": "object"
},
"env": {
"type": "object",
@@ -290,25 +203,19 @@
"type": "number"
},
"in_app": {
- "type": "string"
+ "type": "boolean"
},
"filename": {
"type": "string"
},
"pre_context": {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "type": "array"
},
"context_line": {
"type": "string"
},
"post_context": {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "type": "array"
}
}
}