Add comment to parser
@@ -103,6 +103,8 @@ func ParseSSF(packet []byte) (*ssf.SSFSpan, []*UDPMetric, error) {
if !ValidTrace(sample) {
sample = nil
} else if sample.Name == "" {
+ // Even though incoming packets should have Name set,
+ // this allows Veneur to be backwards-compatible.
for k, v := range sample.Tags {
if k == "name" {
sample.Name = v
