ExportFormatter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |