# Functions
AccessMetricDescriptor attempts to retrieve the given metric descriptor.
AccessSpan returns the span at the given index if it is in range.
AddMetricDescriptor adds a new MetricDescriptor to the map if a duplicate type does not already exist.
AddPoint sets the latest point to be the current point for a given time series.
AddSpans adds the given spans to the list of uploaded spans.
CheckForRequiredFields verifies that the required fields for the given request are present.
Delay will block for the specified amount of time.
RemoveMetricDescriptor attempts to delete the given metric descriptor.
No description provided by the author
ValidateCreateTimeSeries checks that the given TimeSeries conform to the API requirements.
ValidateDuplicateErrDetails is used in tests to verify that the error returned contains the correct duplicated value.
ValidateMissingFieldsErrDetails is used to test that the error details contain the correct missing fields.
ValidateProjectName verifies that the project name from the BatchWriteSpans request is of the form projects/[PROJECT_ID].
ValidateRateLimit validates that the rate at which points are written does not exceed the limit.
ValidateRequiredFields verifies that the given request contains the required fields.
ValidateSpans checks that the spans conform to the API requirements.
# Structs
MetricDescriptorStatus wraps a MetricDescriptor with the status of its creation.
MetricDescriptorData is a wrapper struct for all the data that the server keeps with respect to metric descriptors.
PreviousPoint contains information about the most recently uploaded point for a time series.
SpanData wraps all the span data on the server into a struct.
TimeSeriesData is a wrapper struct for all the data that the server keeps with respect to time series.
TimeSeriesStruct wraps a TimeSeries with the status of its creation.