NeuralPlus 0.2.0
A small C++17 SDK for AI clients, sessions, tools, and tracing
Loading...
Searching...
No Matches
neuralplus::TraceEvent Struct Reference

One metadata-first trace record. More...

#include <tracing.hpp>

Public Attributes

TraceLevel level {TraceLevel::info}
 Event severity.
 
TraceEventType type {TraceEventType::generation_start}
 Lifecycle category.
 
std::chrono::system_clock::time_point timestamp
 Wall-clock timestamp captured when the event is created.
 
std::string session_id
 Session correlation identifier.
 
std::string run_id
 Generation correlation identifier.
 
std::string operation_id
 Provider round or tool-call identifier.
 
std::string name
 Model or tool name.
 
JsonValue attributes = JsonValue::object()
 Metadata safe for the configured tracing policy.
 
std::string payload
 Optional sensitive payload, empty unless explicitly enabled.
 

Detailed Description

One metadata-first trace record.

Member Data Documentation

◆ timestamp

std::chrono::system_clock::time_point neuralplus::TraceEvent::timestamp
Initial value:
{
std::chrono::system_clock::now()}

Wall-clock timestamp captured when the event is created.


The documentation for this struct was generated from the following file: