-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support nesting request metrics under a sub dictionary (#14)
In some cases you don't want the fields of the request metrics directly in the root of the dictionary. For example, when sending general application logs *and* request metric logs to the same ES index it's good to be able to to nest the request metrics as a separate object. This commit adds 1 extra config option `NestKey` holding the name of a key, that when set will nest the request metric fields in a sub dictionary under the key name. Co-authored-by: Taylan Develioglu <[email protected]>
- Loading branch information
1 parent
d2c8466
commit 6b6fa8f
Showing
2 changed files
with
28 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters