Versions in this module Expand all Collapse all v0 v0.9.0 Oct 20, 2021retracted Changes in this version + func GenerateEnhancedMetricsFromFunctionLog(logString string, time time.Time, tags []string, ...) + func GenerateEnhancedMetricsFromReportLog(initDurationMs float64, durationMs float64, billedDurationMs int, ...) + func GenerateRuntimeDurationMetric(start time.Time, end time.Time, status string, tags []string, ...) + func SendTimeoutEnhancedMetric(tags []string, metricsChan chan []metrics.MetricSample) + type DogStatsDFactory interface + NewServer func(aggregator *aggregator.BufferedAggregator, extraTags []string) (*dogstatsd.Server, error) + type MetricConfig struct + func (m *MetricConfig) GetMultipleEndpoints() (map[string][]string, error) + type MetricDogStatsD struct + func (m *MetricDogStatsD) NewServer(aggregator *aggregator.BufferedAggregator, extraTags []string) (*dogstatsd.Server, error) + type MultipleEndpointConfig interface + GetMultipleEndpoints func() (map[string][]string, error) + type ServerlessMetricAgent struct + func (c *ServerlessMetricAgent) Flush() + func (c *ServerlessMetricAgent) GetMetricChannel() chan []metrics.MetricSample + func (c *ServerlessMetricAgent) IsReady() bool + func (c *ServerlessMetricAgent) SetExtraTags(tagArray []string) + func (c *ServerlessMetricAgent) Start(forwarderTimeout time.Duration, multipleEndpointConfig MultipleEndpointConfig, ...) + func (c *ServerlessMetricAgent) Stop()