Versions in this module Expand all Collapse all v1 v1.4.1 Sep 11, 2020 Changes in this version + func GetMetadataAttributes(metadata string) (map[string]interface{}, error) + type AuthInfo struct + Namespace string + Principal string + RequestPrincipal string + User string + type HTTPAccessLogEntry struct + AuthInfo *AuthInfo + Destination *RequestEndpoint + Direction string + Durations *RequestDurations + Latency *time.Duration + ProtocolVersion string + Reporter *Reporter + Request *HTTPRequest + Response *HTTPResponse + Source *RequestEndpoint + StartTime string + UpstreamCluster string + func New(le *al_proto.HTTPAccessLogEntry) (*HTTPAccessLogEntry, error) + func (e *HTTPAccessLogEntry) FormatedStartTime(format ...string) string + func (e *HTTPAccessLogEntry) FormattedResponseFlags() string + func (e *HTTPAccessLogEntry) FormattedString(tpl *template.Template) string + func (e *HTTPAccessLogEntry) GetUniqueKey(byWorkload bool) string + func (e *HTTPAccessLogEntry) LatencyInMiliseconds() int64 + func (e *HTTPAccessLogEntry) RequestBytes() uint64 + func (e *HTTPAccessLogEntry) ResponseBytes() uint64 + func (e *HTTPAccessLogEntry) SetReporter(id *als_proto_cp.StreamAccessLogsMessage_Identifier) + func (e *HTTPAccessLogEntry) String() string + type HTTPRequest struct + Authority string + BodyBytes uint64 + ForwardedFor string + HeaderBytes uint64 + Headers map[string]string + ID string + Metadata map[string]string + Method string + OriginalPath string + Path string + Referer string + Scheme string + UserAgent string + func (r *HTTPRequest) IsIdentifiable() + type HTTPResponse struct + BodyBytes uint64 + Flags []string + HeaderBytes uint64 + Headers map[string]string + Metadata map[string]string + StatusCode uint32 + StatusCodeDetails string + Trailers map[string]string + type Headers map[string]string + func (hs Headers) GetAllWithoutMetadataHeaders() (headers map[string]string) + func (hs Headers) GetMetadata() (md string) + type Owner struct + Name string + Namespace string + Raw string + Type string + type Reporter struct + ClusterID string + ID string + InstanceIPs []string + IstioVersion string + MeshID string + Metadata map[string]string + Name string + Namespace string + Owner *Owner + ServiceAccount string + Workload string + func (re *Reporter) IsIdentifiable() + func (re *Reporter) SetAttributes(attrs map[string]interface{}) + type RequestDurations struct + TimeToFirstDownstreamTxByte *time.Duration + TimeToFirstUpstreamRxByte *time.Duration + TimeToFirstUpstreamTxByte *time.Duration + TimeToLastDownstreamTxByte *time.Duration + TimeToLastRxByte *time.Duration + TimeToLastUpstreamRxByte *time.Duration + TimeToLastUpstreamTxByte *time.Duration + type RequestEndpoint struct + Address *TCPAddr + Metadata map[string]string + Name string + Namespace string + ServiceAccount string + Workload string + func (re *RequestEndpoint) SetAttributes(attrs map[string]interface{}) + func (re *RequestEndpoint) String() string + type TCPAddr struct + IP string + Port int + func (a *TCPAddr) String() string