Compartir a través de


ExportFormatter Class

Definition

Provides functionality to format Activity spans into OTLP JSON payloads.

public class ExportFormatter
type ExportFormatter = class
Public Class ExportFormatter
Inheritance
ExportFormatter

Constructors

Name Description
ExportFormatter()

Methods

Name Description
FormatLogData(IDictionary<String,Object>)

Formats the log data for the OTLP payload.

FormatMany(IEnumerable<Activity>, Resource)

Formats a collection of Activity spans into an OTLP JSON payload compatible with the Agent 365 Observability ingestion service.

FormatSingle(Activity, Resource)

Formats a single Activity span into an OTLP JSON payload compatible with the Agent 365 Observability ingestion service.

Applies to