diff --git a/model/pdata/timestamp.go b/model/pdata/timestamp.go index 463551a8878..bd3f96b0121 100644 --- a/model/pdata/timestamp.go +++ b/model/pdata/timestamp.go @@ -27,12 +27,6 @@ func NewTimestampFromTime(t time.Time) Timestamp { return Timestamp(uint64(t.UnixNano())) } -// TimestampFromTime constructs a new Timestamp from the provided time.Time. -// Deprecated: use NewTimestampFromTime instead. -func TimestampFromTime(t time.Time) Timestamp { - return Timestamp(uint64(t.UnixNano())) -} - // AsTime converts this to a time.Time. func (ts Timestamp) AsTime() time.Time { return time.Unix(0, int64(ts)).UTC()