func MakeInt64TimeSeries(val int64, startTime, now time.Time, labels []*metricspb.LabelValue) *metricspb.TimeSeries {
	return &metricspb.TimeSeries{
		StartTimestamp: timestamp.New(startTime),
		LabelValues:    labels,
		Points:         []*metricspb.Point{{Timestamp: timestamp.New(now), Value: &metricspb.Point_Int64Value{Int64Value: val}}},
	}
}
MakeInt64TimeSeries generates a proto representation of a timeseries containing a single point for an int64 metric.
package metricgenerator
import (
	"math"
	"time"
	timestamp "google.golang.org/protobuf/types/known/timestamppb"
	metricspb "github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1"
)