-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Record request information as metadata (#100)
* Record request information as metadata Aside from just adding request information to the environment field, add it to the metadata as well to allow for use in filtering. Fixes appsignal/support#333. * Update lib/appsignal_phoenix/event_handler.ex Co-authored-by: Tom de Bruijn <[email protected]> * Update .changesets/record-request-information-as-metadata.md Co-authored-by: Tom de Bruijn <[email protected]> * Update lib/appsignal_phoenix/event_handler.ex Co-authored-by: Tom de Bruijn <[email protected]> * Update lib/appsignal_phoenix/event_handler.ex Co-authored-by: Tom de Bruijn <[email protected]> * Update metadata tests to match recent changes Recent changes prefixed the metadata names with "request" or "response", and removed the hostname field. This patch updates the test to reflect those changes. --------- Co-authored-by: Tom de Bruijn <[email protected]>
- Loading branch information
1 parent
0d89f7b
commit 6e7444a
Showing
3 changed files
with
29 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
bump: minor | ||
type: add | ||
--- | ||
|
||
Record request information as metadata like the request path, request method and response status. |
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