Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultRegion = region.US DefaultEventType = "veneur" DefaultServiceCheckEventType = "veneurCheck" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewRelicMetricSink ¶
type NewRelicMetricSink struct {
// contains filtered or unexported fields
}
func NewNewRelicMetricSink ¶
func NewNewRelicMetricSink(insertKey string, accountID int, region string, eventType string, tags []string, log *logrus.Logger, serviceCheckEvent string) (*NewRelicMetricSink, error)
NewNewRelicMetricSink creates a new NewRelicMetricSink. This sink sends data to the New Relic platform
func (*NewRelicMetricSink) Flush ¶
func (nr *NewRelicMetricSink) Flush(ctx context.Context, interMetrics []samplers.InterMetric) error
func (*NewRelicMetricSink) FlushOtherSamples ¶
func (nr *NewRelicMetricSink) FlushOtherSamples(ctx context.Context, samples []ssf.SSFSample)
func (*NewRelicMetricSink) Name ¶
func (nr *NewRelicMetricSink) Name() string
Name returns the name of the sink
type NewRelicSpanSink ¶
type NewRelicSpanSink struct {
// contains filtered or unexported fields
}
func NewNewRelicSpanSink ¶
func NewNewRelicSpanSink(insertKey string, accountID int, reg string, tags []string, spanURL string, log *logrus.Logger) (*NewRelicSpanSink, error)
NewNewRelicSpanSink creates a new NewRelicSpanSink. This sink sends span data to the New Relic Platform
func (*NewRelicSpanSink) Flush ¶
func (nr *NewRelicSpanSink) Flush()
Flush signals for the sink to send data to New Relic
func (*NewRelicSpanSink) Ingest ¶
func (nr *NewRelicSpanSink) Ingest(ssfSpan *ssf.SSFSpan) error
Ingest takes a span and records it in the New Relic telemetery format to be sent to New Relic on the next Flush()
func (*NewRelicSpanSink) Name ¶
func (nr *NewRelicSpanSink) Name() string
Name returns the name of the sink
Click to show internal directories.
Click to hide internal directories.