Skip to content

Commit 4d5c247

Browse files
committed
Bumped v0.8.1
Signed-off-by: Vishal Rana <[email protected]>
1 parent 55d8a25 commit 4d5c247

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

cube.go

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,6 @@ type (
2121
mutex sync.RWMutex
2222
logger *log.Logger
2323

24-
// App ID
25-
AppID string
26-
27-
// App name
28-
AppName string
29-
3024
// LabStack API key
3125
APIKey string
3226

@@ -36,6 +30,9 @@ type (
3630
// Interval in seconds to dispatch the batch
3731
DispatchInterval time.Duration
3832

33+
// Additional tags
34+
Tags []string `json:"tags"`
35+
3936
// TODO: To be implemented
4037
ClientLookup string
4138
}
@@ -122,6 +119,7 @@ func (c *Cube) Start(r *http.Request, w http.ResponseWriter) (request *CubeReque
122119
UserAgent: r.UserAgent(),
123120
RemoteIP: RealIP(r),
124121
Language: "Go",
122+
Tags: c.Tags,
125123
}
126124
request.ClientID = request.RemoteIP
127125
atomic.AddInt64(&c.activeRequests, 1)

0 commit comments

Comments
 (0)