f2872d6dea
* Update screenshot to match current output * Log level is configurable * Alert name is provided in log line, where available. * Capitalise Discord, check err in integration test, and other syntax issues * Go formatting syntax fixes * Log the common alert name or group alert name, in that precedence
13 lines
329 B
Go
13 lines
329 B
Go
package logging
|
|
|
|
const (
|
|
// field keys should be lowercase snake_case.
|
|
FieldKeyHttpHost = "host"
|
|
FieldKeyHttpMethod = "method"
|
|
FieldKeyHttpPath = "path"
|
|
FieldKeyEventType = "event_type"
|
|
FieldKeyAlertName = "alert_name"
|
|
FieldKeyCorrelationId = "correlation_id"
|
|
FieldKeyStatusCode = "status_code"
|
|
)
|