File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 44
44
CubeRequest struct {
45
45
ID string `json:"id"`
46
46
Time time.Time `json:"time"`
47
- AppID string `json:"app_id"`
48
- AppName string `json:"app_name"`
49
47
Host string `json:"host"`
50
48
Path string `json:"path"`
51
49
Method string `json:"method"`
@@ -58,9 +56,10 @@ type (
58
56
UserAgent string `json:"user_agent"`
59
57
Active int64 `json:"active"`
60
58
// TODO: CPU, Uptime, Memory
61
- Language string `json:"language"`
62
- Error string `json:"error"`
63
- StackTrace string `json:"stack_trace"`
59
+ Tags []string `json:"tags"`
60
+ Language string `json:"language"`
61
+ Error string `json:"error"`
62
+ StackTrace string `json:"stack_trace"`
64
63
}
65
64
66
65
// CubeError defines the cube error.
@@ -117,8 +116,6 @@ func (c *Cube) Start(r *http.Request, w http.ResponseWriter) (request *CubeReque
117
116
request = & CubeRequest {
118
117
ID : RequestID (r , w ),
119
118
Time : time .Now (),
120
- AppID : c .AppID ,
121
- AppName : c .AppName ,
122
119
Host : r .Host ,
123
120
Path : r .URL .Path ,
124
121
Method : r .Method ,
You can’t perform that action at this time.
0 commit comments