InvantiveのドキュメントInvantive Cloudの一部
Invantive サポートフォーラムログイン / 会員登録

TraceContext

Invantive製品のトレースメッセージです。 各プロセスは、トレースするメッセージを、このディレクトリの下にあるUTC日付ごとのフォルダ内の、そのプロセス専用のファイルへ、パート単位で書き込みます。書き込み中のパートは名前に-writingが付き、閉じられたパートには-cが付きます。閉じられたパートは.zstファイルに圧縮され、その横では非圧縮のパートが削除されます。 すべての部分の最初の行は、プロセスのステータス行です:製品、バージョン、マシン、ユーザー、設定。 書き込み中の部分も読み取れますが、その最終行は不完全な場合があります。

メッセージのTraceIdは、そのメッセージが書き込まれた作業のトレースIDであり、W3C Trace Contextで定義されています。 あるInvantive製品から別の製品への呼び出しは、リクエストヘッダーtraceparentにそれを載せるため、1つの作業のメッセージは、その作業が通過したすべての製品のトレースファイルで同じトレースIDを持ちます。 リリース28.0以降、同じトレースIDが、デスクトップ製品のエラーウィンドウ、Web製品のエラーページおよびエラー応答、レスポンスヘッダーtraceresponse、およびsys_context('USERENV', 'TRACE_ID')に表示されます。 ユーザーが引用するトレースIDは、したがってその作業のメッセージを見つけ出します。

次の接続文字列を使用して、Big Data JSONドライバー経由でInvantive UniversalSQLからファイルをテーブルとして読み取ります:

provider=BigDataJson;swagger-specification-files={specification};directories={directory};extension=*.ndjson,*.ndjson.zst;recurse-directories=true

コラム

テーブル Logging の列を、各列のOpenAPI型、値が存在しない場合があるかどうか、および保持する内容とともに以下に示します。

名前 ラベル タイプ Null許容 説明 例
MetadataType メタデータタイプ string ☑ レコードの .NET 型の完全名(Invantive.Basics.TraceContext)。混在したストリームの読者に、その行の形式を示します。 Invantive.Basics.TraceContext
MessageCode メッセージコード string ☑ イベントのメッセージコード: itgen に続いてコンポーネントを表す3文字と3桁の数字からなり、製品内でメッセージが書き込まれる箇所ごとに一意です。コードごとに https://forums.invantive.com. で文書化されています。 itgencfr020
Message メッセージ string ☑ メッセージのテキスト。
NaturalKey ナチュラルキー string ☑ メッセージの対象のナチュラルキー。顧客や文書など名前を持つ一つの対象に関するイベントの場合に、その対象に関するメッセージをまとめて検索できるようにします。
ProviderName プロバイダー名 string ☑ メッセージが関係するデータソースドライバー(プロバイダー)の名前(関係する場合)。 ExactOnlineXml
TableName テーブル名 string ☑ メッセージが関係するテーブルの名前(関係する場合)。
PartitionCode パーティションコード string ☑ メッセージが関係する場合のパーティションのコード(データソース内の会社、部門、または管理単位)。
LoggingLevel ロギングレベル string (enumeration) ☑ メッセージの重大度。メンバー名として記述された列挙型(Invantive.Basics.LoggingLevel)。メンバー: Failure = 0: システム自体の障害。; Error = 1: ユーザー、データまたはデータソースが原因のエラー。; Warning = 2: 確認が必要な警告。障害ではありません。; Info = 3: 情報。; Debug = 4: デバッグ出力。トレースの大部分を占めます。; Audit = 5: 操作の監査記録。; License = 6: ライセンス。; Unknown = 7: 不明。. Debug
Tags タグ array ☑ メッセージの種類を分類するタグ。ロガー自身のタグなどを含み、同じ種類のメッセージを選択するために使用されます。
DurationMs 処理時間(ミリ秒) number / double ☑ メッセージが報告する操作にかかった時間(ミリ秒)です。時間のかかった操作を報告する場合に設定されます。
Quantity 数量 integer / int64 ☑ メッセージが報告する件数(行数やバイト数など)。テキストを解析せずに合計やグラフ化ができます。
Parameter1 Parameter1 string ☑ メッセージの自由パラメーター 1(テキスト形式)。メッセージの作成者がテキストとは別に記録する値で、ファイル名、件数、識別子などが該当します。
Parameter2 Parameter2 string ☑ メッセージの自由パラメーター 2(テキスト形式)。
Parameter3 Parameter3 string ☑ メッセージの自由パラメーター 3(テキスト形式)。
Parameter4 Parameter4 string ☑ メッセージの自由パラメーター 4(テキスト形式)。
Parameter5 Parameter5 string ☑ メッセージの自由パラメーター 5(テキスト形式)。
Parameter6 Parameter6 string ☑ メッセージの自由パラメーター 6(テキスト形式)。
Parameter7 Parameter7 string ☑ メッセージの自由パラメーター 7(テキスト形式)。
Parameter8 Parameter8 string ☑ メッセージの自由パラメーター 8(テキスト形式)。
Parameter9 Parameter9 string ☑ メッセージの自由パラメーター 9(テキスト形式)。
Parameter10 Parameter10 string ☑ メッセージの自由パラメーター 10(テキスト形式)。
OccurredUtc 発生時刻(UTC) string / date-time ☐ メッセージが記録された時刻(UTC)。分解能は 100 ナノ秒です。ISO 8601 の日付と時刻です。UTCの時刻には接尾辞 Z が付きます。 2026-09-22T10:15:30.1234567Z
Ns ナノ秒 integer / int32 ☐ OccurredUtc のミリ秒未満の部分(ナノ秒単位)。ミリ秒内の 100 ナノ秒ティック数に 100 を掛けたもので、タイムスタンプがミリ秒単位で止まる読者でも、1ミリ秒内のレコードの順序を保てるようにします。 4567800
Id ID integer / int64 ☐ プロセス内でのレコードの通し番号。メッセージごとに増分され、OccurredUtcを共有するレコードの順序を示します。
ManagedThreadId マネージドスレッドID integer / int32 ☑ メッセージを書き込んだマネージド .NET スレッドの識別子。
TaskId Task Id integer / int32 ☑ タスク内から書き込まれた場合に、そのメッセージを書き込んだ .NET タスクの識別子。
ThreadHeapAllocatedBytes Thread Heap Allocated Bytes integer / int64 ☑ レコード時点までに OS スレッドが開始以来マネージドヒープ上に割り当てた累積バイト数。差分ではなく累積値です。同じ ManagedThreadId と SessionId を持つ以前のレコードを差し引くと、その間に割り当てられたバイト数が得られます。同じスレッドで SessionId が変わった場合は、別の論理セッションがそのスレッドを再利用し、基準点が移動したことを意味します。
ThreadCpuTimeNs Thread Cpu Time Ns integer / int64 ☑ レコード時点までに OS スレッドが開始以来消費した累積 CPU 時間(ナノ秒、カーネル時間とユーザー時間の合計)。SessionId と同じ累積値であり、ThreadHeapAllocatedBytes と同じ注意事項が適用されます。
SessionId セッションID string ☑ メッセージが属する論理セッション(接続、リクエストなど)の識別子。
PoolIdentityId プール ID(Pool Identity Id) string ☑ プールされたプロセスまたは接続が動作するID(プールID)の識別子。
Iwid Iwid string ☑ メッセージが関係するユーザーのIWID:サインインしたユーザーの場合はそのIWID、匿名の訪問者の場合はInvantive.Iwid Cookieにあるものです。プールIDがない場合も含め、1人のユーザーのメッセージを関連付けます。匿名の訪問者については検証されていません。リリース27.0から利用可能。 3f2504e0-4f89-11d3-9a0c-0305e82c3301
BillingPoolIdentityId 課金プールID string ☑ プールIDと異なる場合に、作業を課金するプールIDです。
ActiveRoles 有効なロール array ☑ 既知の場合、セッションのユーザーに対して有効なロールの名前です。
UserEmailAddress ユーザーのメールアドレス string ☑ 判明している場合の、セッションのユーザーの E メールアドレス。
RemoteCorrelationIds リモート相関ID string ☑ リモートシステムから受け取った相関識別子。「キー: 値」形式のカンマ区切りのリストです。
StackTrace スタックトレース string ☑ 書き込み側が要求した場合に、メッセージ発生時点のスタックトレース。
CallingProviderAlias プロバイダーエイリアスの呼び出し string ☑ メッセージを書き込んだデータコンテナ(データソースへの接続)のエイリアスです。
GuiAction GUIアクション string ☑ メッセージの書き込み時に実行されていたユーザーインターフェースのアクションです。
GuiExternalIpAddress GUI外部IPアドレス string ☑ ユーザーインターフェースの外部IPアドレスです。テキストとしてのIPアドレスで、IPv6表記です。
GuiExternalIpPort GUI外部IPポート integer / int32 ☑ ユーザーインターフェースの外部ポート。
GuiLanguage GUI言語 string ☑ ユーザーインターフェースの言語(カルチャコード)。 en-GB
GuiModuleName GUIモジュール名 string ☑ ユーザーインターフェースのモジュール名。
GuiModuleVersion GUIモジュールバージョン string ☑ ユーザーインターフェースのモジュールのバージョン。
GuiOsUser GUI OSユーザー string ☑ ユーザーインターフェースのオペレーティングシステムのユーザー。
GuiUser GUIユーザー string ☑ 製品にログオンしたユーザーインターフェースのユーザー。
RequestId リクエストID string ☑ Webアプリケーションで処理中のリクエストの識別子。
InboundCorrelationIds 受信相関ID string ☑ 受信リクエストとともに受け取った相関識別子。
ExecutionOptionsId 実行オプションID string / uuid ☑ メッセージを書き込んだ実行オプション(作業単位)の識別子です。
MetadataUid メタデータUid string / uuid ☑ メッセージが関係するメタデータオブジェクトへの参照。
Uid Uid string / uuid ☐ レコードの一意の識別子。 3f2504e0-4f89-11d3-9a0c-0305e82c3301
MachineNameFull マシン名(完全表記) string ☑ プロセスが実行されているマシンの完全な名前。
ExecutableName 実行ファイル名 string ☑ プロセスの実行可能ファイルの名前です。
UserName ユーザー名 string ☑ プロセスの オペレーティングシステムのユーザー。
ProcessId プロセスID integer / int64 ☑ オペレーティングシステムのプロセス識別子。
BillingId 課金ID string ☑ 作業の課金識別子です。
BillingReference 請求に関する参照情報 string ☑ 作業の課金参照です。
CallerClientInfo 発信者情報 string ☑ プロセスがデータベース(Oracle)内で実行される場合に、Invantiveを呼び出したデータベースセッションのクライアント情報です。
CallerAudSid 呼び出し元の監査セッションID integer / int32 ☑ 呼び出し元のデータベースセッションの監査セッション識別子(Oracle AUDSID)です。
CallerSid 呼び出し元のSID integer / int32 ☑ 呼び出し元のデータベースセッションのセッション識別子(Oracle SID)です。
CallerPort 発信元ポート integer / int32 ☑ 呼び出し元のデータベースセッションのポートです。
CallerContext 発信者コンテキスト string ☑ 呼び出し元のデータベースセッションのコンテキストです。
CallerClientCharset 呼び出し元のクライアント文字セット string ☑ 呼び出し元のデータベースセッションのクライアントの文字セットです。
CallerClientDriver 発信者クライアントドライバ string ☑ 呼び出し元のデータベースセッションのクライアントのドライバーです。
CallerClientIdentifier 発信者クライアント識別子 string ☑ 呼び出し元のデータベースセッションのクライアント識別子です。 Invantive_Customer_Service/26.1.119.6260
CallerClientVersion 発信元のクライアントのバージョン string ☑ 呼び出し元のデータベースセッションのクライアントのバージョンです。
CallerDatabase 発信者データベース string ☑ 呼び出し元のデータベースの名前です。
CallerEvent 発信者イベント string ☑ 呼び出し元のデータベースセッションのイベントです。
CallerLogonTime 発信者のログイン時刻 string / date-time ☑ 呼び出し元のデータベースセッションのログオン時刻です。ISO 8601 の日付と時刻です。UTCの時刻には接尾辞 Z が付きます。
CallerProcess 呼び出し元プロセス string ☑ 呼び出し元のデータベースセッションのプロセスです。
CallerProgram 呼び出し元プログラム string ☑ 呼び出し元のデータベースセッションのプログラムです。
TraceId Trace Id string ☑ このレコードが属する分散トレースのトレース識別子で、W3Cトレースコンテキスト表記によるものです。すべての監視製品が同じ識別子を読み取ります。 05d4d4815362af89b85dbdf0c757f680
TransactionId Transaction Id string ☑ このプロセス内の作業の最外側スパンの識別子。Elastic APM が transaction と呼ぶもので、W3C はスパンのみを扱います。プロセスのルートスパンのスパン識別子です。 c3c8ef3c8eb082be
SpanId Span Id string ☑ この レコードが書き込まれた作業単位の、W3C トレースコンテキスト表記によるスパン識別子。 5f577ecb698ff9af
ParentSpanId 親スパンID string ☑ このレコードのスパンが含まれる親スパンの識別子(W3C トレースコンテキスト表記)。プロセスの最も外側のスパンでは存在しません。 1d7e45e381c693c9

仕様

OpenAPI仕様は、このページの横に Invantive.Basics.TraceContext.swagger.json として公開されています。各製品が、レコード型と製品バージョンにちなんで名付けられたファイルを、ファイル自体のフォルダーに書き込みます。 Big Data JSONドライバーの接続文字列が参照するファイルです。

{
  "openapi": "3.0.3",
  "info": {
    "title": "Invantive Trace Logging",
    "version": "26.1",
    "description": "Trace messages of Invantive products. Every process writes the messages it traces to a file of its own under a folder per day (the UTC date) below this directory, in parts: a part being written carries -writing in its name and a closed part -c, and a closed part is compressed to a .zst file beside which the uncompressed part is removed. The first lines of every part are the status lines of the process: product, version, machine, user, settings. A part being written can be read; its last line may be incomplete.\n\nEvery line of a file is one JSON object: a record of the .NET type Invantive.Basics.TraceContext of assembly Invantive.Basics version 26.1.88.0 (NDJSON, newline-delimited JSON, see https://github.com/ndjson/ndjson-spec), written by System.Text.Json.\n\nA property whose value is null is left out of the line, so no property is required and a reader takes an absent property as null.\n\nRead the files as a table with Invantive UniversalSQL through the Big Data JSON driver, for instance with the connection string: provider=BigDataJson;swagger-specification-files={specification};directories={directory};extension=*.ndjson,*.ndjson.zst;recurse-directories=true\n\nGenerated at run time from the metadata of the type by Invantive.Basics.NdjsonOpenApiGenerator and written again whenever the assembly changes, so a property added to the type is in this specification without any other step.",
    "contact": {
      "name": "Invantive B.V.",
      "email": "info@invantive.eu",
      "url": "https://invantive.eu"
    },
    "x-invantive-generator": "Invantive.Basics.NdjsonOpenApiGenerator",
    "x-invantive-record-type": "Invantive.Basics.TraceContext",
    "x-invantive-assembly": "Invantive.Basics",
    "x-invantive-assembly-version": "26.1.88.0",
    "x-invantive-assembly-mvid": "6118c4c5-2552-40ac-aa6c-e4adb0f19d92",
    "x-invantive-serializer": "System.Text.Json",
    "x-invantive-content-type": "application/x-ndjson",
    "x-invantive-nulls-omitted": true,
    "x-invantive-connection-string-example": "provider=BigDataJson;swagger-specification-files={specification};directories={directory};extension=*.ndjson,*.ndjson.zst;recurse-directories=true"
  },
  "tags": [
    {
      "name": "Logging",
      "description": "Records of the .NET type Invantive.Basics.TraceContext, read as the table Logging.Logging."
    }
  ],
  "paths": {
    "/": {
      "get": {
        "tags": [
          "Logging"
        ],
        "summary": "Gets all trace logging events",
        "description": "Trace messages of Invantive products. Every process writes the messages it traces to a file of its own under a folder per day (the UTC date) below this directory, in parts: a part being written carries -writing in its name and a closed part -c, and a closed part is compressed to a .zst file beside which the uncompressed part is removed. The first lines of every part are the status lines of the process: product, version, machine, user, settings. A part being written can be read; its last line may be incomplete.",
        "operationId": "Logging",
        "x-invantive-label-singular": "Trace Message",
        "x-invantive-label-plural": "Trace Messages",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful operation.",
            "content": {
              "application/x-ndjson": {
                "schema": {
                  "$ref": "#/components/schemas/TraceContext"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "TraceContext": {
        "type": "object",
        "description": "A trace message of an Invantive product: one event written by a process, with its moment, severity, message code and the context of the session, the user and the machine it was written in.",
        "x-invantive-record-type": "Invantive.Basics.TraceContext",
        "items": {
          "type": "object",
          "properties": {
            "MetadataType": {
              "type": "string",
              "title": "Metadata Type",
              "description": "Full name of the .NET type of the record, Invantive.Basics.TraceContext, which tells a reader of a mixed stream what shape the line has.",
              "example": "Invantive.Basics.TraceContext",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "MetadataType"
            },
            "MessageCode": {
              "type": "string",
              "title": "Message Code",
              "description": "Message code of the event: itgen followed by three letters naming the component and three digits, unique per place in the product where a message is written. Documented per code on https://forums.invantive.com.",
              "example": "itgencfr020",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "MessageCode"
            },
            "Message": {
              "type": "string",
              "title": "Message",
              "description": "Text of the message.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "Message"
            },
            "NaturalKey": {
              "type": "string",
              "title": "Natural Key",
              "description": "Natural key of the subject of the message, when the event is about one thing with a name such as a customer or a document, so that the messages about it can be found together.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "NaturalKey"
            },
            "ProviderName": {
              "type": "string",
              "title": "Provider Name",
              "description": "Name of the data source driver (provider) the message concerns, when it concerns one.",
              "example": "ExactOnlineXml",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "ProviderName"
            },
            "TableName": {
              "type": "string",
              "title": "Table Name",
              "description": "Name of the table the message concerns, when it concerns one.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "TableName"
            },
            "PartitionCode": {
              "type": "string",
              "title": "Partition Code",
              "description": "Code of the partition - the company, division or administration within the data source - the message concerns, when it concerns one.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "PartitionCode"
            },
            "LoggingLevel": {
              "type": "string",
              "enum": [
                "Failure",
                "Error",
                "Warning",
                "Info",
                "Debug",
                "Audit",
                "License",
                "Unknown"
              ],
              "title": "Logging Level",
              "description": "Severity of the message. An enumeration (Invantive.Basics.LoggingLevel) written as the name of its member. Members: Failure = 0: Failure of the system itself.; Error = 1: Error caused by the user, the data or the data source.; Warning = 2: Warning: something to look at, no failure.; Info = 3: Information.; Debug = 4: Debug output, the bulk of a trace.; Audit = 5: Audit record of an action.; License = 6: Licensing.; Unknown = 7: Unknown..",
              "example": "Debug",
              "nullable": true,
              "x-invantive-clr-type": "Invantive.Basics.LoggingLevel",
              "x-invantive-clr-property": "LoggingLevel"
            },
            "Tags": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "title": "Tags",
              "description": "Tags classifying the message, such as the tags of the logger itself, used to select the messages of one kind.",
              "nullable": true,
              "x-invantive-clr-type": "System.String[]",
              "x-invantive-clr-property": "Tags"
            },
            "DurationMs": {
              "type": "number",
              "format": "double",
              "title": "Duration Ms",
              "description": "Duration in milliseconds of the operation the message reports on, when it reports on one which took time.",
              "nullable": true,
              "x-invantive-clr-type": "System.Double",
              "x-invantive-clr-property": "DurationMs"
            },
            "Quantity": {
              "type": "integer",
              "format": "int64",
              "title": "Quantity",
              "description": "A count the message reports, such as a number of rows or of bytes, so that it can be summed or plotted without parsing the text.",
              "nullable": true,
              "x-invantive-clr-type": "System.Int64",
              "x-invantive-clr-property": "Quantity"
            },
            "Parameter1": {
              "type": "string",
              "title": "Parameter1",
              "description": "Free parameter 1 of the message, as text: a value the writer of the message records separately from the text, such as a file name, a count or an identifier.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "Parameter1String"
            },
            "Parameter2": {
              "type": "string",
              "title": "Parameter2",
              "description": "Free parameter 2 of the message, as text.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "Parameter2String"
            },
            "Parameter3": {
              "type": "string",
              "title": "Parameter3",
              "description": "Free parameter 3 of the message, as text.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "Parameter3String"
            },
            "Parameter4": {
              "type": "string",
              "title": "Parameter4",
              "description": "Free parameter 4 of the message, as text.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "Parameter4String"
            },
            "Parameter5": {
              "type": "string",
              "title": "Parameter5",
              "description": "Free parameter 5 of the message, as text.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "Parameter5String"
            },
            "Parameter6": {
              "type": "string",
              "title": "Parameter6",
              "description": "Free parameter 6 of the message, as text.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "Parameter6String"
            },
            "Parameter7": {
              "type": "string",
              "title": "Parameter7",
              "description": "Free parameter 7 of the message, as text.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "Parameter7String"
            },
            "Parameter8": {
              "type": "string",
              "title": "Parameter8",
              "description": "Free parameter 8 of the message, as text.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "Parameter8String"
            },
            "Parameter9": {
              "type": "string",
              "title": "Parameter9",
              "description": "Free parameter 9 of the message, as text.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "Parameter9String"
            },
            "Parameter10": {
              "type": "string",
              "title": "Parameter10",
              "description": "Free parameter 10 of the message, as text.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "Parameter10String"
            },
            "OccurredUtc": {
              "type": "string",
              "format": "date-time",
              "title": "Occurred Utc",
              "description": "Moment the message was registered, in UTC, with a resolution of 100 ns. ISO 8601 date and time; a moment in UTC carries the suffix Z.",
              "example": "2026-09-22T10:15:30.1234567Z",
              "x-invantive-clr-type": "System.DateTime",
              "x-invantive-clr-property": "OccurredUtc"
            },
            "Ns": {
              "type": "integer",
              "format": "int32",
              "title": "Ns",
              "description": "Sub-millisecond part of OccurredUtc in nanoseconds - the 100 ns ticks within the millisecond, times 100 - so that records within one millisecond keep their order for a reader whose timestamps stop at the millisecond.",
              "example": 4567800,
              "x-invantive-clr-type": "System.Int32",
              "x-invantive-clr-property": "NanoSeconds"
            },
            "Id": {
              "type": "integer",
              "format": "int64",
              "title": "Id",
              "description": "Sequence number of the record within the process, incremented per message; orders records which share OccurredUtc.",
              "x-invantive-clr-type": "System.Int64",
              "x-invantive-clr-property": "Id"
            },
            "ManagedThreadId": {
              "type": "integer",
              "format": "int32",
              "title": "Managed Thread Id",
              "description": "Identifier of the managed .NET thread which wrote the message.",
              "nullable": true,
              "x-invantive-clr-type": "System.Int32",
              "x-invantive-clr-property": "ManagedThreadId"
            },
            "TaskId": {
              "type": "integer",
              "format": "int32",
              "title": "Task Id",
              "description": "Identifier of the .NET task which wrote the message, when written from within a task.",
              "nullable": true,
              "x-invantive-clr-type": "System.Int32",
              "x-invantive-clr-property": "TaskId"
            },
            "ThreadHeapAllocatedBytes": {
              "type": "integer",
              "format": "int64",
              "title": "Thread Heap Allocated Bytes",
              "description": "Cumulative bytes the OS thread had allocated on the managed heap since it started, at the moment of the record. A running total and not a delta: subtract an earlier record with the same ManagedThreadId and SessionId to get the bytes allocated in between; a change of SessionId on the same thread means another logical session reused the thread and the reference point moved.",
              "nullable": true,
              "x-invantive-clr-type": "System.Int64",
              "x-invantive-clr-property": "HeapBytesAllocatedForCurrentThread"
            },
            "ThreadCpuTimeNs": {
              "type": "integer",
              "format": "int64",
              "title": "Thread Cpu Time Ns",
              "description": "Cumulative CPU time in nanoseconds, kernel plus user, the OS thread had consumed since it started, at the moment of the record. The same running total and the same SessionId caveat as ThreadHeapAllocatedBytes.",
              "nullable": true,
              "x-invantive-clr-type": "System.Int64",
              "x-invantive-clr-property": "CpuTimeNanosecondsForCurrentThread"
            },
            "SessionId": {
              "type": "string",
              "title": "Session Id",
              "description": "Identifier of the logical session - a connection, a request - the message belongs to.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "SessionId"
            },
            "PoolIdentityId": {
              "type": "string",
              "title": "Pool Identity Id",
              "description": "Identifier of the pool identity: the identity a pooled process or connection works under.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "PoolIdentityId"
            },
            "BillingPoolIdentityId": {
              "type": "string",
              "title": "Billing Pool Identity Id",
              "description": "Pool identity the work is billed to, when it differs from the pool identity.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "BillingPoolIdentityId"
            },
            "ActiveRoles": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "title": "Active Roles",
              "description": "Names of the roles active for the user of the session, when known.",
              "nullable": true,
              "x-invantive-clr-type": "System.String[]",
              "x-invantive-clr-property": "ActiveRoles"
            },
            "UserEmailAddress": {
              "type": "string",
              "title": "User Email Address",
              "description": "E-mail address of the user of the session, when known.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "UserEmailAddress"
            },
            "RemoteCorrelationIds": {
              "type": "string",
              "title": "Remote Correlation Ids",
              "description": "Correlation identifiers received from remote systems, as a comma-separated list of key: value.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "RemoteCorrelationIds"
            },
            "StackTrace": {
              "type": "string",
              "title": "Stack Trace",
              "description": "Stack trace at the moment of the message, when the writer asked for one.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "StackTrace"
            },
            "CallingProviderAlias": {
              "type": "string",
              "title": "Calling Provider Alias",
              "description": "Alias of the data container - the connection to a data source - from which the message was written.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "CallingProviderAlias"
            },
            "GuiAction": {
              "type": "string",
              "title": "Gui Action",
              "description": "Action of the user interface being executed when the message was written.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "GuiAction"
            },
            "GuiExternalIpAddress": {
              "type": "string",
              "title": "Gui External Ip Address",
              "description": "External IP address of the user interface. An IP address as text, in IPv6 notation.",
              "nullable": true,
              "x-invantive-clr-type": "System.Net.IPAddress",
              "x-invantive-clr-property": "GuiExternalIpV6Address"
            },
            "GuiExternalIpPort": {
              "type": "integer",
              "format": "int32",
              "title": "Gui External Ip Port",
              "description": "External port of the user interface.",
              "nullable": true,
              "x-invantive-clr-type": "System.UInt16",
              "x-invantive-clr-property": "GuiExternalIpV6Port"
            },
            "GuiLanguage": {
              "type": "string",
              "title": "Gui Language",
              "description": "Language of the user interface, as a culture code.",
              "example": "en-GB",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "GuiLanguage"
            },
            "GuiModuleName": {
              "type": "string",
              "title": "Gui Module Name",
              "description": "Name of the module of the user interface.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "GuiModuleName"
            },
            "GuiModuleVersion": {
              "type": "string",
              "title": "Gui Module Version",
              "description": "Version of the module of the user interface.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "GuiModuleVersion"
            },
            "GuiOsUser": {
              "type": "string",
              "title": "Gui Os User",
              "description": "Operating system user of the user interface.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "GuiOsUser"
            },
            "GuiUser": {
              "type": "string",
              "title": "Gui User",
              "description": "User of the user interface, as logged on to the product.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "GuiUser"
            },
            "RequestId": {
              "type": "string",
              "title": "Request Id",
              "description": "Identifier of the request being handled, for a web application.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "RequestId"
            },
            "InboundCorrelationIds": {
              "type": "string",
              "title": "Inbound Correlation Ids",
              "description": "Correlation identifiers received with the inbound request.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "InboundCorrelationIds"
            },
            "ExecutionOptionsId": {
              "type": "string",
              "format": "uuid",
              "title": "Execution Options Id",
              "description": "Identifier of the execution options - the unit of work - the message was written under.",
              "nullable": true,
              "x-invantive-clr-type": "System.Guid",
              "x-invantive-clr-property": "ExecutionOptionsId"
            },
            "MetadataUid": {
              "type": "string",
              "format": "uuid",
              "title": "Metadata Uid",
              "description": "Reference to the metadata object the message concerns.",
              "nullable": true,
              "x-invantive-clr-type": "System.Guid",
              "x-invantive-clr-property": "MetadataUid"
            },
            "Uid": {
              "type": "string",
              "format": "uuid",
              "title": "Uid",
              "description": "Unique identifier of the record.",
              "example": "3f2504e0-4f89-11d3-9a0c-0305e82c3301",
              "x-invantive-clr-type": "System.Guid",
              "x-invantive-clr-property": "Uid"
            },
            "MachineNameFull": {
              "type": "string",
              "title": "Machine Name Full",
              "description": "Full name of the machine the process runs on.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "MachineNameFull"
            },
            "ExecutableName": {
              "type": "string",
              "title": "Executable Name",
              "description": "Name of the executable of the process.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "ExecutableName"
            },
            "UserName": {
              "type": "string",
              "title": "User Name",
              "description": "Operating system user of the process.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "UserName"
            },
            "ProcessId": {
              "type": "integer",
              "format": "int64",
              "title": "Process Id",
              "description": "Operating system process identifier.",
              "nullable": true,
              "x-invantive-clr-type": "System.UInt32",
              "x-invantive-clr-property": "ProcessId"
            },
            "BillingId": {
              "type": "string",
              "title": "Billing Id",
              "description": "Billing identifier of the work.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "BillingId"
            },
            "BillingReference": {
              "type": "string",
              "title": "Billing Reference",
              "description": "Billing reference of the work.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "BillingReference"
            },
            "CallerClientInfo": {
              "type": "string",
              "title": "Caller Client Info",
              "description": "Client information of the database session which called into Invantive, when the process runs inside a database (Oracle).",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "CallerClientInfo"
            },
            "CallerAudSid": {
              "type": "integer",
              "format": "int32",
              "title": "Caller Aud Sid",
              "description": "Auditing session identifier of the calling database session (Oracle AUDSID).",
              "nullable": true,
              "x-invantive-clr-type": "System.Int32",
              "x-invantive-clr-property": "CallerAudSid"
            },
            "CallerSid": {
              "type": "integer",
              "format": "int32",
              "title": "Caller Sid",
              "description": "Session identifier of the calling database session (Oracle SID).",
              "nullable": true,
              "x-invantive-clr-type": "System.Int32",
              "x-invantive-clr-property": "CallerSid"
            },
            "CallerPort": {
              "type": "integer",
              "format": "int32",
              "title": "Caller Port",
              "description": "Port of the calling database session.",
              "nullable": true,
              "x-invantive-clr-type": "System.Int32",
              "x-invantive-clr-property": "CallerPort"
            },
            "CallerContext": {
              "type": "string",
              "title": "Caller Context",
              "description": "Context of the calling database session.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "CallerContext"
            },
            "CallerClientCharset": {
              "type": "string",
              "title": "Caller Client Charset",
              "description": "Character set of the client of the calling database session.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "CallerClientCharset"
            },
            "CallerClientDriver": {
              "type": "string",
              "title": "Caller Client Driver",
              "description": "Driver of the client of the calling database session.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "CallerClientDriver"
            },
            "CallerClientIdentifier": {
              "type": "string",
              "title": "Caller Client Identifier",
              "description": "Client identifier of the calling database session.",
              "example": "Invantive_Customer_Service/26.1.119.6260",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "CallerClientIdentifier"
            },
            "CallerClientVersion": {
              "type": "string",
              "title": "Caller Client Version",
              "description": "Version of the client of the calling database session.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "CallerClientVersion"
            },
            "CallerDatabase": {
              "type": "string",
              "title": "Caller Database",
              "description": "Name of the calling database.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "CallerDatabase"
            },
            "CallerEvent": {
              "type": "string",
              "title": "Caller Event",
              "description": "Event of the calling database session.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "CallerEvent"
            },
            "CallerLogonTime": {
              "type": "string",
              "format": "date-time",
              "title": "Caller Logon Time",
              "description": "Log-on time of the calling database session. ISO 8601 date and time; a moment in UTC carries the suffix Z.",
              "nullable": true,
              "x-invantive-clr-type": "System.DateTime",
              "x-invantive-clr-property": "CallerLogonTime"
            },
            "CallerProcess": {
              "type": "string",
              "title": "Caller Process",
              "description": "Process of the calling database session.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "CallerProcess"
            },
            "CallerProgram": {
              "type": "string",
              "title": "Caller Program",
              "description": "Program of the calling database session.",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "CallerProgram"
            },
            "TraceId": {
              "type": "string",
              "title": "Trace Id",
              "description": "Trace identifier of the distributed trace this record belongs to, in W3C trace context notation; the same identifier every monitoring product reads.",
              "example": "05d4d4815362af89b85dbdf0c757f680",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "TraceId"
            },
            "TransactionId": {
              "type": "string",
              "title": "Transaction Id",
              "description": "Identifier of the outermost span of the work inside this process: what Elastic APM calls the transaction, where W3C knows spans only. The span identifier of the root span of the process.",
              "example": "c3c8ef3c8eb082be",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "TransactionId"
            },
            "SpanId": {
              "type": "string",
              "title": "Span Id",
              "description": "Span identifier of the unit of work this record was written in, in W3C trace context notation.",
              "example": "5f577ecb698ff9af",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "SpanId"
            },
            "ParentSpanId": {
              "type": "string",
              "title": "Parent Span Id",
              "description": "Span identifier of the span this record's span runs inside, in W3C trace context notation. Absent on the outermost span of a process.",
              "example": "1d7e45e381c693c9",
              "nullable": true,
              "x-invantive-clr-type": "System.String",
              "x-invantive-clr-property": "ParentSpanId"
            }
          },
          "required": []
        }
      }
    }
  }
}