/
struct_request_log.go
64 lines (62 loc) · 3.75 KB
/
struct_request_log.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
package cloudapi
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
//http://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law or agreed to in writing, software
//distributed under the License is distributed on an "AS IS" BASIS,
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//See the License for the specific language governing permissions and
//limitations under the License.
//
// Code generated by Alibaba Cloud SDK Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
// RequestLog is a nested struct in cloudapi response
type RequestLog struct {
ApiId string `json:"ApiId" xml:"ApiId"`
ApiName string `json:"ApiName" xml:"ApiName"`
ConsumerAppKey string `json:"ConsumerAppKey" xml:"ConsumerAppKey"`
TotalLatency string `json:"TotalLatency" xml:"TotalLatency"`
HttpMethod string `json:"HttpMethod" xml:"HttpMethod"`
Domain string `json:"Domain" xml:"Domain"`
ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"`
ConsumerAppId string `json:"ConsumerAppId" xml:"ConsumerAppId"`
InstanceId string `json:"InstanceId" xml:"InstanceId"`
ClientNonce string `json:"ClientNonce" xml:"ClientNonce"`
RequestSize string `json:"RequestSize" xml:"RequestSize"`
StageId string `json:"StageId" xml:"StageId"`
StageName string `json:"StageName" xml:"StageName"`
HttpPath string `json:"HttpPath" xml:"HttpPath"`
RequestId string `json:"RequestId" xml:"RequestId"`
GroupId string `json:"GroupId" xml:"GroupId"`
GroupName string `json:"GroupName" xml:"GroupName"`
ErrorCode string `json:"ErrorCode" xml:"ErrorCode"`
ResponseSize string `json:"ResponseSize" xml:"ResponseSize"`
Region string `json:"Region" xml:"Region"`
StatusCode string `json:"StatusCode" xml:"StatusCode"`
ClientIp string `json:"ClientIp" xml:"ClientIp"`
ServiceLatency string `json:"ServiceLatency" xml:"ServiceLatency"`
RequestTime string `json:"RequestTime" xml:"RequestTime"`
Exception string `json:"Exception" xml:"Exception"`
CustomTraceId string `json:"CustomTraceId" xml:"CustomTraceId"`
JwtClaims string `json:"JwtClaims" xml:"JwtClaims"`
RequestProtocol string `json:"RequestProtocol" xml:"RequestProtocol"`
RequestHeaders string `json:"RequestHeaders" xml:"RequestHeaders"`
RequestQueryString string `json:"RequestQueryString" xml:"RequestQueryString"`
RequestBody string `json:"RequestBody" xml:"RequestBody"`
ResponseHeaders string `json:"ResponseHeaders" xml:"ResponseHeaders"`
ResponseBody string `json:"ResponseBody" xml:"ResponseBody"`
Plugin string `json:"plugin" xml:"plugin"`
InitialRequestId string `json:"InitialRequestId" xml:"InitialRequestId"`
AppName string `json:"AppName" xml:"AppName"`
FrontRequestStart int64 `json:"FrontRequestStart" xml:"FrontRequestStart"`
FrontRequestEnd int64 `json:"FrontRequestEnd" xml:"FrontRequestEnd"`
BackendRequestStart int64 `json:"BackendRequestStart" xml:"BackendRequestStart"`
BackendRequestEnd int64 `json:"BackendRequestEnd" xml:"BackendRequestEnd"`
BackendResponseStart int64 `json:"BackendResponseStart" xml:"BackendResponseStart"`
BackendResponseEnd int64 `json:"BackendResponseEnd" xml:"BackendResponseEnd"`
FrontResponseStart int64 `json:"FrontResponseStart" xml:"FrontResponseStart"`
FrontResponseEnd int64 `json:"FrontResponseEnd" xml:"FrontResponseEnd"`
}