Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NDTResult ¶
type NDTResult struct {
// GitShortCommit is the Git commit (short form) of the running server code.
GitShortCommit string
// Version is the symbolic version (if any) of the running server code.
Version string
// All data members should all be self-describing. In the event of confusion,
// rename them to add clarity rather than adding a comment.
ServerIP string
ServerPort int
ClientIP string
ClientPort int
StartTime time.Time
EndTime time.Time
// ndt5
Control *control.ArchivalData `json:",omitempty"`
C2S *c2s.ArchivalData `json:",omitempty"`
S2C *s2c.ArchivalData `json:",omitempty"`
// ndt7
Upload *model.ArchivalData `json:",omitempty"`
Download *model.ArchivalData `json:",omitempty"`
}
NDTResult is the struct that is serialized as JSON to disk as the archival record of an NDT test.
This struct is dual-purpose. It contains the necessary data to allow joining with tcp-info data and traceroute-caller data as well as any other UUID-based data. It also contains enough data for interested parties to perform lightweight data analysis without needing to join with other tools.
WARNING: The BigQuery schema is inferred directly from this structure. To preserve compatibility with historical data, never remove fields. For more information see: https://github.com/m-lab/etl/issues/719
Click to show internal directories.
Click to hide internal directories.