rum

package module
v0.71.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package rum provides utils for transforming between OTLP RUM signals and Datadog RUM payload

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildIntakeURLPathAndParameters

func BuildIntakeURLPathAndParameters(rattrs pcommon.Map, lattrs pcommon.Map) string

BuildIntakeURLPathAndParameters builds the intake URL path and parameters to send RUM payloads to Datadog RUM backend.

func ConstructRumPayloadFromOTLP

func ConstructRumPayloadFromOTLP(attr pcommon.Map) map[string]any

ConstructRumPayloadFromOTLP constructs a RUM payload from OTLP attributes.

func ToLogs

func ToLogs(payload map[string]any, req *http.Request) plog.Logs

ToLogs converts a RUM payload to OpenTelemetry Logs

func ToTraces

func ToTraces(logger *zap.Logger, payload map[string]any, req *http.Request) (ptrace.Traces, error)

ToTraces converts a RUM payload to OpenTelemetry Traces

Types

This section is empty.

Jump to

Keyboard shortcuts

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