Documentation ¶
Index ¶
- Constants
- func ConnectLocalProcessAgent() (pb.MetloIngest_ProcessTraceAsyncClient, error)
- func GetHost(req *http.Request) string
- func GetPath(req *http.Request) string
- func MapMetloTraceToMetloIngestRPC(trace MetloTrace) mi.ApiTrace
- func ReconnectLocalProcessAgent() (pb.MetloIngest_ProcessTraceAsyncClient, error)
- type Metlo
- type MetloTrace
- type NV
- type TraceMeta
- type TraceReq
- type TraceRes
- type TraceUrl
Constants ¶
View Source
const MaxConnectTries int = 10
View Source
const MetloDefaultRPS int = 5
View Source
const MetloDefaultRPSLocalProcess int = 20
Variables ¶
This section is empty.
Functions ¶
func ConnectLocalProcessAgent ¶
func ConnectLocalProcessAgent() (pb.MetloIngest_ProcessTraceAsyncClient, error)
func MapMetloTraceToMetloIngestRPC ¶
func MapMetloTraceToMetloIngestRPC(trace MetloTrace) mi.ApiTrace
func ReconnectLocalProcessAgent ¶
func ReconnectLocalProcessAgent() (pb.MetloIngest_ProcessTraceAsyncClient, error)
Types ¶
type Metlo ¶
type Metlo struct {
// contains filtered or unexported fields
}
func (*Metlo) Send ¶
func (m *Metlo) Send(data MetloTrace)
func (*Metlo) SendLocalProcess ¶
func (m *Metlo) SendLocalProcess(data MetloTrace)
type MetloTrace ¶
Click to show internal directories.
Click to hide internal directories.