Documentation ¶
Index ¶
- type SpyMetricClient
- func (s *SpyMetricClient) EmitEvent(title, body string)
- func (s *SpyMetricClient) GetDelta(name string) uint64
- func (s *SpyMetricClient) GetEnvelopes(name string) []*loggregator_v2.Envelope
- func (s *SpyMetricClient) GetEvent(title string) (body string)
- func (s *SpyMetricClient) GetValue(name string) float64
- func (s *SpyMetricClient) NewCounter(name string, opts ...metricemitter.MetricOption) *metricemitter.Counter
- func (s *SpyMetricClient) NewGauge(name, unit string, opts ...metricemitter.MetricOption) *metricemitter.Gauge
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SpyMetricClient ¶
type SpyMetricClient struct {
// contains filtered or unexported fields
}
func NewMetricClient ¶
func NewMetricClient() *SpyMetricClient
func (*SpyMetricClient) EmitEvent ¶
func (s *SpyMetricClient) EmitEvent(title, body string)
func (*SpyMetricClient) GetDelta ¶
func (s *SpyMetricClient) GetDelta(name string) uint64
func (*SpyMetricClient) GetEnvelopes ¶
func (s *SpyMetricClient) GetEnvelopes(name string) []*loggregator_v2.Envelope
func (*SpyMetricClient) GetEvent ¶
func (s *SpyMetricClient) GetEvent(title string) (body string)
func (*SpyMetricClient) GetValue ¶
func (s *SpyMetricClient) GetValue(name string) float64
func (*SpyMetricClient) NewCounter ¶
func (s *SpyMetricClient) NewCounter(name string, opts ...metricemitter.MetricOption) *metricemitter.Counter
func (*SpyMetricClient) NewGauge ¶
func (s *SpyMetricClient) NewGauge(name, unit string, opts ...metricemitter.MetricOption) *metricemitter.Gauge
Click to show internal directories.
Click to hide internal directories.