Documentation
¶
Index ¶
Constants ¶
View Source
const ( EntityIdAttribute = "nr.entity.id" InstrumentationVersionAttribute = "instrumentation.version" InstrumentationNameAttribute = "instrumentation.name" InstrumentationProviderAttribute = "instrumentation.provider" CollectorNameAttribute = "collector.name" CollectorVersionAttribute = "collector.version" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntityFwRequest ¶
type EntityFwRequest struct {
FwRequestMeta
Integration protocol.IntegrationMetadata
Data protocol.Dataset
}
EntityFwRequest stores an integration single entity payload to be processed before it gets forwarded to NR telemetry SDK.
func NewEntityFwRequest ¶
func NewEntityFwRequest( entityDataSet protocol.Dataset, id entity.ID, reqMeta FwRequestMeta, intMeta protocol.IntegrationMetadata, agentVersion string, ) EntityFwRequest
func (*EntityFwRequest) ID ¶
func (r *EntityFwRequest) ID() entity.ID
func (*EntityFwRequest) RegisteredWith ¶
func (r *EntityFwRequest) RegisteredWith(id entity.ID)
type FwRequest ¶
type FwRequest struct {
FwRequestMeta
Data protocol.DataV4
}
FwRequest stores an integration payload with telemetry data & metadata required from protocol v4 to be processed before it gets forwarded to NR telemetry SDK.
func NewFwRequest ¶
func NewFwRequest(definition integration.Definition, extraLabels data.Map, entityRewrite []data.EntityRewrite, integrationData protocol.DataV4) FwRequest
type FwRequestLegacy ¶
type FwRequestLegacy struct {
FwRequestMeta
Data protocol.PluginDataV3
}
FwRequestLegacy stores integration telemetry data & metadata required from protocol v3 to be processed before it gets forwarded to NR telemetry SDK.
func NewFwRequestLegacy ¶
func NewFwRequestLegacy(definition integration.Definition, extraLabels data.Map, entityRewrite []data.EntityRewrite, integrationData protocol.PluginDataV3, ) FwRequestLegacy
type FwRequestMeta ¶
type FwRequestMeta struct {
Definition integration.Definition
ExtraLabels data.Map
EntityRewrite []data.EntityRewrite
}
FwRequestMeta stores integration required metadata for telemetry data to be processed before it gets forwarded to NR telemetry SDK.
func (*FwRequestMeta) LabelsAndExtraAnnotations ¶
func (d *FwRequestMeta) LabelsAndExtraAnnotations() (map[string]string, map[string]string)
Click to show internal directories.
Click to hide internal directories.