applicationLogs
ApplicationLogsParams
Configures an individual application-logs aspect.
Field | Type | Description |
---|
logName | string | Identifies a collection of related log entries. |
logs[] | repeated ApplicationLog | |
ApplicationLog
Field | Type | Description |
---|
descriptorName | string | Must match the name of some LogEntryDescriptor. |
severity | string | The expression to evaluate to determine this log's severity at runtime. |
timestamp | string | The expression to evaluate to determine this log's timestamp. |
timeFormat | string | The golang time layout format string used to print the timestamp |
templateExpressions | repeated 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. |
labels | repeated 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. |