go-graphite / go-carbon

Multiple append can be combined into a single call CRT-P0001
Performance
Major
2 occurrences in this check
can combine chain of 3 appends into one
1979		)
1980	}
1981
1982	ti.qauMetrics = append(ti.qauMetrics, points.Points{1983		Metric: fmt.Sprintf("throttle.%s", metricName),
1984		Data: []points.Point{{
1985			Value: float64(throttled),
can combine chain of 3 appends into one
2080	}
2081
2082	var opts []grpc.ServerOption
2083	opts = append(opts,2084		grpc.KeepaliveEnforcementPolicy(keepalive.EnforcementPolicy{
2085			MinTime:             10 * time.Second,
2086			PermitWithoutStream: true,