Merge pull request #394 from xiekeyang/feature-panic-hook
Feature: Add Hook for Web Application Panic
This commit is contained in:
commit
0d40913b9a
7 changed files with 223 additions and 2 deletions
|
@ -4,6 +4,20 @@ log:
|
|||
fields:
|
||||
service: registry
|
||||
environment: development
|
||||
hooks:
|
||||
- type: mail
|
||||
disabled: true
|
||||
levels:
|
||||
- panic
|
||||
options:
|
||||
smtp:
|
||||
addr: mail.example.com:25
|
||||
username: mailuser
|
||||
password: password
|
||||
insecure: true
|
||||
from: sender@example.com
|
||||
to:
|
||||
- errors@example.com
|
||||
storage:
|
||||
cache:
|
||||
blobdescriptor: redis
|
||||
|
@ -41,5 +55,5 @@ notifications:
|
|||
timeout: 1s
|
||||
threshold: 10
|
||||
backoff: 1s
|
||||
disabled: true
|
||||
|
||||
disabled: true
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue