func (z *StatsPayload) EncodeMsg(en *msgp.Writer) (err error) {
	// map header, size 5
	// write "AgentHostname"
	err = en.Append(0x85, 0xad, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x48, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65)
	if err != nil {
		return
	}
	err = en.WriteString(z.AgentHostname)
	if err != nil {
		return
	}
	// write "AgentEnv"
	err = en.Append(0xa8, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x76)
	if err != nil {
		return
	}
	err = en.WriteString(z.AgentEnv)
	if err != nil {
		return
	}
	// write "Stats"
	err = en.Append(0xa5, 0x53, 0x74, 0x61, 0x74, 0x73)
	if err != nil {
		return
	}
	err = en.WriteArrayHeader(uint32(len(z.Stats)))
	if err != nil {
		return
	}
	for za0001 := range z.Stats {
		err = z.Stats[za0001].EncodeMsg(en)
		if err != nil {
			return
		}
	}
	// write "AgentVersion"
	err = en.Append(0xac, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e)
	if err != nil {
		return
	}
	err = en.WriteString(z.AgentVersion)
	if err != nil {
		return
	}
	// write "ClientComputed"
	err = en.Append(0xae, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x64)
	if err != nil {
		return
	}
	err = en.WriteBool(z.ClientComputed)
	if err != nil {
		return
	}
	return
}
// EncodeMsg implements msgp.Encodable
EncodeMsg implements msgp.Encodable
// EncodeMsg implements msgp . Encodable
func (z *StatsPayload) EncodeMsg(en *msgp.Writer) (err error) {
	err = en.Append(0x85, 0xad, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x48, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65)
	if err != nil {
		return
	}
	err = en.WriteString(z.AgentHostname)
	if err != nil {
		return
	}
	err = en.Append(0xa8, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x76)
	if err != nil {
		return
	}
	err = en.WriteString(z.AgentEnv)
	if err != nil {
		return
	}
	err = en.Append(0xa5, 0x53, 0x74, 0x61, 0x74, 0x73)
	if err != nil {
		return
	}
	err = en.WriteArrayHeader(uint32(len(z.Stats)))
	if err != nil {
		return
	}
	for za0001 := range z.Stats {
		err = z.Stats[za0001].EncodeMsg(en)
		if err != nil {
			return
		}
	}
	err = en.Append(0xac, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e)
	if err != nil {
		return
	}
	err = en.WriteString(z.AgentVersion)
	if err != nil {
		return
	}
	err = en.Append(0xae, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x64)
	if err != nil {
		return
	}
	err = en.WriteBool(z.ClientComputed)
	if err != nil {
		return
	}
	return
}
func ( z * StatsPayload ) EncodeMsg ( en * msgp . Writer ) ( err error ) { err = en . Append ( 0x85 , 0xad , 0x41 , 0x67 , 0x65 , 0x6e , 0x74 , 0x48 , 0x6f , 0x73 , 0x74 , 0x6e , 0x61 , 0x6d , 0x65 ) if err != nil { return } err = en . WriteString ( z . AgentHostname ) if err != nil { return } err = en . Append ( 0xa8 , 0x41 , 0x67 , 0x65 , 0x6e , 0x74 , 0x45 , 0x6e , 0x76 ) if err != nil { return } err = en . WriteString ( z . AgentEnv ) if err != nil { return } err = en . Append ( 0xa5 , 0x53 , 0x74 , 0x61 , 0x74 , 0x73 ) if err != nil { return } err = en . WriteArrayHeader ( uint32 ( len ( z . Stats ) ) ) if err != nil { return } for za0001 := range z . Stats { err = z . Stats [ za0001 ] . EncodeMsg ( en ) if err != nil { return } } err = en . Append ( 0xac , 0x41 , 0x67 , 0x65 , 0x6e , 0x74 , 0x56 , 0x65 , 0x72 , 0x73 , 0x69 , 0x6f , 0x6e ) if err != nil { return } err = en . WriteString ( z . AgentVersion ) if err != nil { return } err = en . Append ( 0xae , 0x43 , 0x6c , 0x69 , 0x65 , 0x6e , 0x74 , 0x43 , 0x6f , 0x6d , 0x70 , 0x75 , 0x74 , 0x65 , 0x64 ) if err != nil { return } err = en . WriteBool ( z . ClientComputed ) if err != nil { return } return }
EncodeMsg implements msgp.Encodable
EncodeMsg implements msgp . Encodable
// map header, size 5 // write "AgentHostname" // write "AgentEnv" // write "Stats" // write "AgentVersion" // write "ClientComputed"