fwrequest

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

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

func (*FwRequest) PluginID

func (r *FwRequest) PluginID() ids.PluginID

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL