Documentazione Invantiveparte di invantive cloud
Forum di supporto InvantiveAccedi / Registrati

TraceContext

Messaggi di traccia dei prodotti Invantive. Ogni processo scrive i messaggi che traccia in un file proprio, in una cartella per giorno (la data UTC) sotto questa directory, in parti: una parte in scrittura porta -writing nel suo nome e una parte chiusa -c, e una parte chiusa viene compressa in un file .zst accanto al quale la parte non compressa viene rimossa. Le prime righe di ogni parte sono le righe di stato del processo: prodotto, versione, macchina, utente, impostazioni. Una parte in scrittura può essere letta; la sua ultima riga può essere incompleta.

Il TraceId di un messaggio è l'ID di traccia del lavoro in cui il messaggio è stato scritto, come definito da W3C Trace Context. Una chiamata da un prodotto Invantive a un altro lo trasporta nell'header della richiesta traceparent, così i messaggi di uno stesso lavoro portano lo stesso ID di traccia nei file di traccia di ogni prodotto attraversato. Dalla versione 28.0 lo stesso ID di traccia è mostrato nelle finestre di errore dei prodotti desktop, nelle pagine di errore e nelle risposte di errore dei prodotti web, nell'header di risposta traceresponse e da sys_context('USERENV', 'TRACE_ID'). Un ID di traccia che un utente cita permette quindi di trovare i messaggi di quel lavoro.

Leggere i file come tabella con Invantive UniversalSQL tramite il driver JSON Big Data, ad esempio con la stringa di connessione:

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

Colonne

Le colonne della tabella Logging sono mostrate di seguito con il tipo OpenAPI di ciascuna, se il valore può essere assente e cosa contiene.

Nome Etichetta Tipo Può essere nullo Descrizione Esempio
MetadataType Tipo di metadati string ☑ Nome completo del tipo .NET del record, Invantive.Basics.TraceContext, che indica a chi legge un flusso misto quale forma ha la riga. Invantive.Basics.TraceContext
MessageCode Codice del Messaggio string ☑ Codice del messaggio dell'evento: itgen seguito da tre lettere che indicano il componente e da tre cifre, univoco per ogni punto del prodotto in cui viene scritto un messaggio.Documentato per codice su https://forums.invantive.com. itgencfr020
Message Messaggio string ☑ Testo del messaggio.
NaturalKey Chiave naturale string ☑ Chiave naturale del soggetto del messaggio, quando l'evento riguarda una cosa con un nome, come un cliente o un documento, così che i messaggi che lo riguardano si possano trovare insieme.
ProviderName Nome del fornitore string ☑ Nome del driver (provider) della sorgente dati a cui si riferisce il messaggio, quando si riferisce a una sorgente. ExactOnlineXml
TableName Nome della tabella string ☑ Nome della tabella a cui si riferisce il messaggio, quando si riferisce a una tabella.
PartitionCode Codice di partizione string ☑ Codice della partizione - la società, la divisione o l'amministrazione all'interno della sorgente dati - a cui si riferisce il messaggio, quando si riferisce a una partizione.
LoggingLevel Livello di registrazione string (enumeration) ☑ Gravità del messaggio.Un'enumerazione (Invantive.Basics.LoggingLevel) scritta come nome del suo membro.Membri: Failure = 0: Errore del sistema stesso.; Error = 1: Errore causato dall'utente, dai dati o dalla fonte dati.; Warning = 2: Avviso: qualcosa da controllare, non un errore.; Info = 3: Informazione.; Debug = 4: Output di debug, la maggior parte di una traccia.; Audit = 5: Record di audit di un'azione.; License = 6: Licenza.; Unknown = 7: Sconosciuto.. Debug
Tags Tag array ☑ Tag che classificano il messaggio, come i tag del logger stesso, usati per selezionare i messaggi di un certo tipo.
DurationMs Durata ms number / double ☑ Durata in millisecondi dell'operazione a cui si riferisce il messaggio, quando si riferisce a un'operazione che ha richiesto tempo.
Quantity Quantità integer / int64 ☑ Un conteggio riportato dal messaggio, come un numero di righe o di byte, così che possa essere sommato o rappresentato graficamente senza analizzare il testo.
Parameter1 Parameter1 string ☑ Parametro libero 1 del messaggio, come testo: un valore che lo scrittore del messaggio registra separatamente dal testo, come un nome file, un conteggio o un identificatore.
Parameter2 Parameter2 string ☑ Parametro libero 2 del messaggio, come testo.
Parameter3 Parameter3 string ☑ Parametro libero 3 del messaggio, come testo.
Parameter4 Parameter4 string ☑ Parametro libero 4 del messaggio, come testo.
Parameter5 Parameter5 string ☑ Parametro libero 5 del messaggio, come testo.
Parameter6 Parameter6 string ☑ Parametro libero 6 del messaggio, come testo.
Parameter7 Parameter7 string ☑ Parametro libero 7 del messaggio, come testo.
Parameter8 Parameter8 string ☑ Parametro libero 8 del messaggio, come testo.
Parameter9 Parameter9 string ☑ Parametro libero 9 del messaggio, come testo.
Parameter10 Parameter10 string ☑ Parametro libero 10 del messaggio, come testo.
OccurredUtc Occorso (UTC) string / date-time ☐ Momento in cui il messaggio è stato registrato, in UTC, con una risoluzione di 100 ns.Data e ora ISO 8601; un momento in UTC riporta il suffisso Z. 2026-09-22T10:15:30.1234567Z
Ns Ns integer / int32 ☐ Parte sub-millisecondo di OccurredUtc in nanosecondi - i tick 100 ns all'interno del millisecondo, moltiplicati per 100 - così i record entro uno stesso millisecondo mantengono il loro ordine per un lettore i cui timestamp si fermano al millisecondo. 4567800
Id ID integer / int64 ☐ Numero di sequenza del record all'interno del processo, incrementato per ogni messaggio; ordina i record che condividono OccurredUtc.
ManagedThreadId ID thread gestito integer / int32 ☑ Identificatore del thread .NET gestito che ha scritto il messaggio.
TaskId Id attività integer / int32 ☑ Identificatore del task .NET che ha scritto il messaggio, quando scritto dall'interno di un task.
ThreadHeapAllocatedBytes Thread Heap Allocated Bytes integer / int64 ☑ Byte cumulativi che il thread del sistema operativo ha allocato nello heap gestito dal suo avvio, al momento del record.Un totale progressivo e non un delta: sottrai un record precedente con lo stesso ManagedThreadId e SessionId per ottenere i byte allocati nel frattempo; un cambio di SessionId sullo stesso thread significa che un'altra sessione logica ha riutilizzato il thread e il punto di riferimento è cambiato.
ThreadCpuTimeNs Tempo CPU thread (ns) integer / int64 ☑ Tempo CPU cumulativo in nanosecondi, kernel più user, consumato dal thread del sistema operativo dal suo avvio, nel momento della registrazione.Lo stesso totale progressivo e la stessa avvertenza su SessionId di ThreadHeapAllocatedBytes.
SessionId ID sessione string ☑ Identificatore della sessione logica - una connessione, una richiesta - a cui appartiene il messaggio.
PoolIdentityId ID identità del pool string ☑ Identificatore dell'identità del pool: l'identità con cui opera un processo o una connessione in pool.
Iwid Iwid string ☑ IWID della persona a cui si riferisce il messaggio: dell'utente autenticato, o per un visitatore anonimo quello nel cookie Invantive.Iwid.Collega i messaggi di una persona, anche quando non esiste un'identità di pool; non verificato per un visitatore anonimo.Disponibile a partire dalla versione 27.0. 3f2504e0-4f89-11d3-9a0c-0305e82c3301
BillingPoolIdentityId Id identità pool di fatturazione string ☑ Identità del pool a cui viene fatturato il lavoro, quando differisce dall'identità del pool.
ActiveRoles Ruoli attivi array ☑ Nomi dei ruoli attivi per l'utente della sessione, quando noti.
UserEmailAddress Indirizzo e-mail dell'utente string ☑ Indirizzo e-mail dell'utente della sessione, quando noto.
RemoteCorrelationIds Id di correlazione remoti string ☑ Identificatori di correlazione ricevuti da sistemi remoti, come elenco separato da virgole di chiave: valore.
StackTrace Traccia dello stack string ☑ Traccia dello stack al momento del messaggio, quando lo scrittore la richiede.
CallingProviderAlias Chiamata di un alias del Provider string ☑ Alias del contenitore dati - la connessione a una sorgente dati - da cui è stato scritto il messaggio.
GuiAction Azione GUI string ☑ Azione dell'interfaccia utente in esecuzione al momento della scrittura del messaggio.
GuiExternalIpAddress Indirizzo IP esterno GUI string ☑ Indirizzo IP esterno dell'interfaccia utente.Indirizzo IP in formato testo, in notazione IPv6.
GuiExternalIpPort Gui External Ip Port integer / int32 ☑ Porta esterna dell'interfaccia utente.
GuiLanguage Linguaggio GUI string ☑ Lingua dell'interfaccia utente, come codice di cultura. en-GB
GuiModuleName Nome modulo GUI string ☑ Nome del modulo dell'interfaccia utente.
GuiModuleVersion Versione modulo GUI string ☑ Versione del modulo dell'interfaccia utente.
GuiOsUser Utente SO della GUI string ☑ Utente del sistema operativo dell'interfaccia utente.
GuiUser Utente GUI string ☑ Utente dell'interfaccia utente, come autenticato nel prodotto.
RequestId ID richiesta string ☑ Identificatore della richiesta in elaborazione, per un'applicazione web.
InboundCorrelationIds Inbound Correlation Ids string ☑ Identificatori di correlazione ricevuti con la richiesta in ingresso.
ExecutionOptionsId Id opzioni di esecuzione string / uuid ☑ Identificatore delle opzioni di esecuzione - l'unità di lavoro - in cui è stato scritto il messaggio.
MetadataUid Metadata Uid string / uuid ☑ Riferimento all'oggetto di metadati a cui si riferisce il messaggio.
Uid Uid string / uuid ☐ Identificatore univoco del record. 3f2504e0-4f89-11d3-9a0c-0305e82c3301
MachineNameFull Nome completo della macchina string ☑ Nome completo della macchina su cui è in esecuzione il processo.
ExecutableName Nome del file eseguibile string ☑ Nome dell'eseguibile del processo.
UserName Nome Utente string ☑ Utente del sistema operativo del processo.
ProcessId Id processo integer / int64 ☑ Identificatore del processo del sistema operativo.
BillingId Billing Id string ☑ Identificativo di fatturazione del lavoro.
BillingReference Riferimento di fatturazione string ☑ Riferimento di fatturazione del lavoro.
CallerClientInfo Informazioni del cliente chiamante string ☑ Informazioni sul client della sessione di database che ha chiamato Invantive, quando il processo viene eseguito all'interno di un database (Oracle).
CallerAudSid Caller Aud Sid integer / int32 ☑ Identificatore di sessione di audit della sessione di database chiamante (Oracle AUDSID).
CallerSid Caller Sid integer / int32 ☑ Identificatore di sessione della sessione database chiamante (Oracle SID).
CallerPort Port del Chiamante integer / int32 ☑ Porta della sessione database chiamante.
CallerContext Contesto del chiamante string ☑ Contesto della sessione di database chiamante.
CallerClientCharset Charset del client chiamante string ☑ Set di caratteri del client della sessione database chiamante.
CallerClientDriver Driver del Cliente Chiamante string ☑ Driver del client della sessione database chiamante.
CallerClientIdentifier Identificatore del cliente chiamante string ☑ Identificatore client della sessione di database chiamante. Invantive_Customer_Service/26.1.119.6260
CallerClientVersion Versione del cliente chiamante string ☑ Versione del client della sessione di database chiamante.
CallerDatabase Database Chiamante string ☑ Nome del database chiamante.
CallerEvent Evento del Chiamante string ☑ Evento della sessione di database chiamante.
CallerLogonTime Orario di Inizio sessione del Chiamante string / date-time ☑ Ora di accesso della sessione di database chiamante.Data e ora ISO 8601; un momento in UTC riporta il suffisso Z.
CallerProcess Processo Chiamante string ☑ Processo della sessione database chiamante.
CallerProgram Programma Chiamante string ☑ Programma della sessione di database chiamante.
TraceId Trace Id string ☑ Identificatore di traccia della traccia distribuita a cui appartiene questo record, in notazione W3C trace context; lo stesso identificatore che legge ogni prodotto di monitoraggio. 05d4d4815362af89b85dbdf0c757f680
TransactionId ID transazione string ☑ Identificatore dello span più esterno del lavoro all'interno di questo processo: ciò che Elastic APM chiama transazione, mentre W3C conosce solo gli span.L'identificatore di span dello span radice del processo. c3c8ef3c8eb082be
SpanId Span Id string ☑ Identificatore dello span dell'unità di lavoro in cui è stato scritto questo record, in notazione W3C trace context. 5f577ecb698ff9af
ParentSpanId ID span padre string ☑ Identificatore dello span in cui è eseguito lo span di questo record, in notazione W3C trace context.Assente sullo span più esterno di un processo. 1d7e45e381c693c9

Specificazione

La specifica OpenAPI è pubblicata come Invantive.Basics.TraceContext.swagger.json accanto a questa pagina ed è scritta da ogni prodotto nella cartella dei file stessi, denominata in base al tipo di record e alla versione del prodotto. È il file a cui punta una stringa di connessione del driver JSON Big Data.

{
  "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": []
        }
      }
    }
  }
}