Stanislav N. aka pztrn
529113a41a
Metrics data now stored as structures. This is a first step for autodiscovery helping for NMSes. HTTP requests now logged. Got rid of context.Context for getting metric data in applications because context.Context is useless here.
10 lines
205 B
Go
10 lines
205 B
Go
package models
|
|
|
|
// RequestInfo is a parsed request information to throw into application's handler.
|
|
type RequestInfo struct {
|
|
ApiVersion int
|
|
Application string
|
|
Metric string
|
|
RequestType string
|
|
}
|