Documentation ¶
Overview ¶
Copyright 2020 New Relic Corporation. All rights reserved. SPDX-License-Identifier: Apache-2.0
Copyright 2020 New Relic Corporation. All rights reserved. SPDX-License-Identifier: Apache-2.0
Copyright 2020 New Relic Corporation. All rights reserved. SPDX-License-Identifier: Apache-2.0
Copyright 2020 New Relic Corporation. All rights reserved. SPDX-License-Identifier: Apache-2.0
Copyright 2020 New Relic Corporation. All rights reserved. SPDX-License-Identifier: Apache-2.0
Index ¶
- Variables
- func NewLazyLoadedHarvester(config MetricsSenderConfig, transport http.RoundTripper, idProvide id.Provide) metricHarvester
- func ParsePayloadV4(raw []byte, ffManager feature_flags.Retriever) (dataV4 protocol.DataV4, err error)
- type Agent
- type Calculator
- type Conversion
- type Converter
- type Count
- type Cumulative
- type DerivingConvertor
- type Emitter
- type Gauge
- type IntegrationProcessor
- type MetricsSender
- type MetricsSenderConfig
- type PrometheusHistogram
- type PrometheusSummary
- type Rate
- type Summary
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Errors ProtocolV4NotEnabledErr = errors.New("integration protocol version 4 is not enabled") NoContentToParseErr = errors.New("no content to parse") )
Functions ¶
func NewLazyLoadedHarvester ¶
func NewLazyLoadedHarvester(config MetricsSenderConfig, transport http.RoundTripper, idProvide id.Provide) metricHarvester
func ParsePayloadV4 ¶
func ParsePayloadV4(raw []byte, ffManager feature_flags.Retriever) (dataV4 protocol.DataV4, err error)
ParsePayloadV4 parses a string containing a JSON payload with the format of our SDK for v4 protocol which uses dimensional metrics.
Types ¶
type Agent ¶
type Agent interface {
GetContext() agent.AgentContext
}
type Calculator ¶
type Calculator struct {
// contains filtered or unexported fields
}
type Conversion ¶
type Conversion struct {
// contains filtered or unexported fields
}
type Cumulative ¶
type Cumulative struct {
// contains filtered or unexported fields
}
type DerivingConvertor ¶
type DerivingConvertor interface {
// contains filtered or unexported methods
}
type Emitter ¶
func NewEmitter ¶
func NewEmitter( agentContext agent.AgentContext, dmSender MetricsSender, registerClient identityapi.RegisterClient, measure instrumentation.Measure, ffRetriever feature_flags.Retriever, ) Emitter
type IntegrationProcessor ¶
type MetricsSender ¶
type MetricsSender interface { SendMetrics(metrics []protocol.Metric) SendMetricsWithCommonAttributes(commonAttributes protocol.Common, metrics []protocol.Metric) error }
func NewDMSender ¶
func NewDMSender(config MetricsSenderConfig, transport http.RoundTripper, idProvide id.Provide) (s MetricsSender, err error)
NewDMSender creates a Dimensional Metrics sender.
type MetricsSenderConfig ¶
type PrometheusHistogram ¶
type PrometheusHistogram struct {
// contains filtered or unexported fields
}
type PrometheusSummary ¶
type PrometheusSummary struct {
// contains filtered or unexported fields
}
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package cumulative creates Count metrics from cumulative values.
|
Package cumulative creates Count metrics from cumulative values. |
Click to show internal directories.
Click to hide internal directories.