Skip to content

Commit

Permalink
Pass outbound params to riviere
Browse files Browse the repository at this point in the history
  • Loading branch information
klesgidis committed Mar 31, 2021
1 parent 883c019 commit 79cc476
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/initializers/diamorphosis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ export default (config, orkaOptions: Partial<OrkaOptions>) => {
}
},
outbound: {
blacklistedPathRegex: new RegExp('^/v0.4/traces$', 'i')
blacklistedPathRegex: new RegExp('^/v0.4/traces$', 'i'),
request: {
enabled: true
}
},
color: true,
styles: [],
Expand Down
6 changes: 5 additions & 1 deletion src/initializers/koa/riviere.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ export default (config, orkaOptions: Partial<OrkaOptions>) =>
https: true,
level: 'info',
maxBodyValueChars: config.riviere.maxBodyValueChars,
blacklistedPathRegex: config.riviere.outbound && config.riviere.outbound.blacklistedPathRegex
blacklistedPathRegex: config.riviere.outbound && config.riviere.outbound.blacklistedPathRegex,
request: {
enabled: config.riviere.outbound && config.riviere.outbound.request.enabled
},
...config.riviere.outbound
},
inbound: {
level: 'info',
Expand Down

0 comments on commit 79cc476

Please sign in to comment.