applicationLogs

ApplicationLogsParams

Configures an individual application-logs aspect.

FieldTypeDescription
logNamestringIdentifies a collection of related log entries.
logs[]repeated ApplicationLog

ApplicationLog

FieldTypeDescription
descriptorNamestringMust match the name of some LogEntryDescriptor.
severitystringThe expression to evaluate to determine this log's severity at runtime.
timestampstringThe expression to evaluate to determine this log's timestamp.
timeFormatstringThe golang time layout format string used to print the timestamp
templateExpressionsrepeated map<string, string>Map of template variable name to expression for the descriptor's logTemplate. At run time each expression will be evaluated, and together they will provide values for the log's template string. Labels and template expressions do not mix: if the result of some expression is needed for both constructing the payload and for dimensioning the log entry, it must be included both in these expressions and in the labels expressions.
labelsrepeated map<string, string>Map of LogEntryDescriptor label name to attribute expression. At run time each expression will be evaluated to determine the value that will be used to fill in the log template. The result of evaluating the expression must match the ValueType of the label in the LogEntryDescriptor.