Versions in this module Expand all Collapse all v1 v1.0.3 Nov 14, 2019 Changes in this version type Configuration + IgnoreElastic bool v1.0.2 Jun 5, 2019 Changes in this version type Configuration + ElasticBasicAuth bool + ElasticPassword string + ElasticUser string v1.0.1 May 2, 2019 v1.0.0 Feb 21, 2019 Changes in this version + func SetLog(entty *logrus.Entry) + func SetLogger(nLogger *logrus.Logger) + type Agent struct + func CreateAgent(cnf Configuration) (*Agent, error) + func NewAgent() (*Agent, error) + func (agent *Agent) AddToES(data ElasticData) error + func (agent *Agent) Close(w http.ResponseWriter, req *http.Request) + func (agent *Agent) InitES() error + func (agent *Agent) Log(w http.ResponseWriter, req *http.Request) + func (agent *Agent) Meter(w http.ResponseWriter, req *http.Request) + func (agent *Agent) Shutdown() + func (agent *Agent) Trace(w http.ResponseWriter, req *http.Request) + type Configuration struct + ElasticSearchURL string + Endpoint string + Port int + VDCName string + ZipkinEndpoint string + type ElasticData struct + Log *LogMessage + Meter *MeterMessage + Timestamp time.Time + type LogMessage struct + Timestamp time.Time + Value string + type MeterMessage struct + Name string + OperationID string + Raw string + Timestamp time.Time + Unit string + Value interface{} + type TraceMessage struct + Message string + Operation string + ParentSpanId string + SpanId string + TraceId string