Skip to content

Latest commit

 

History

History

data_model

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Using the data model

The logging data model is defined by .yaml files in model/ . Top level fields that can appear in any log record are defined in `namespaces/top-level.yaml. The remaining files define groups of related fields that appear in some types of record. Some fields are marked "private: true" meaning they are internal to the logging system, users should not rely on them,

The model can be used to generate code or documentation. The Makefile generates simple AsciiDoc reference documents, using Go templates in adoc/. There are two versions: private/ is the complete model public/ only includes public fields.

Generated HTML at github.io: