Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @opentelemetry/otlp-transformer

Index

Type Aliases

Fixed64: LongBits | string | number
HrTimeEncodeFunction: ((hrTime: HrTime) => Fixed64)

Type declaration

OptionalSpanContextEncodeFunction: ((spanContext: string | undefined) => string | Uint8Array | undefined)

Type declaration

    • (spanContext: string | undefined): string | Uint8Array | undefined
    • Parameters

      • spanContext: string | undefined

      Returns string | Uint8Array | undefined

SpanContextEncodeFunction: ((spanContext: string) => string | Uint8Array)

Type declaration

    • (spanContext: string): string | Uint8Array
    • Parameters

      • spanContext: string

      Returns string | Uint8Array

Variables

ProtobufLogsSerializer: ISerializer<ReadableLogRecord[], IExportLogsServiceResponse> = ...
ProtobufMetricsSerializer: ISerializer<ResourceMetrics, IExportMetricsServiceResponse> = ...
ProtobufTraceSerializer: ISerializer<ReadableSpan[], IExportTraceServiceResponse> = ...

Functions

  • encodeAsString(hrTime: HrTime): string
  • hrTimeToNanos(hrTime: HrTime): bigint

Generated using TypeDoc