MCPcopy
hub / github.com/google/mtail / TimeString

Method TimeString

internal/metrics/datum/datum.go:23–23  ·  view source on GitHub ↗

TimeString returns the timestamp of a Datum as a string.

()

Source from the content-addressed store, hash-verified

21
22 // TimeString returns the timestamp of a Datum as a string.
23 TimeString() string
24
25 // Time returns the timestamp of the Datum as time.Time in UTC
26 TimeUTC() time.Time

Callers 3

TestDatumSetAndValueFunction · 0.65
metricToCollectdFunction · 0.65
metricToGraphiteFunction · 0.65

Calls

no outgoing calls

Tested by 1

TestDatumSetAndValueFunction · 0.52