@grow-codes/opentelemetry-collector - v0.1.1
    Preparing search index...

    Function otlpErrorText

    • Human text of an OTLP error body: JSON {"code","message"}, a binary google.rpc.Status, or plain text. Redacted and truncated to 300 characters; undefined for an empty body.

      Parameters

      • body: string | Uint8Array<ArrayBufferLike> | undefined
      • knownSecrets: readonly string[] = []

      Returns string | undefined