-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add requestHeaders allow list feature
`requestHeaders` allow list is now implemented. Now users are able to define a list of headers they want to be shown in AppSignal. All integrations except from Express make use of the core HTTP instrumentation. As we don't have helpers yet to access the Client stored in global object, the code is repeated in HTTP instrumentation, and in Express integration. This will be removed in favor of global helpers in the future.
- Loading branch information
1 parent
aae3470
commit 4c11f36
Showing
8 changed files
with
59 additions
and
20 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
packages/express/.changesets/requestheaders-config-option-is-now-available.md
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: "patch" | ||
--- | ||
|
||
Collect request headers from express requests by default. See also our new `requestHeaders` config | ||
option, added in the @appsignal/nodejs package. |
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
8 changes: 8 additions & 0 deletions
8
packages/nodejs/.changesets/requestheaders-config-option-is-now-available.md
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,8 @@ | ||
--- | ||
bump: "patch" | ||
--- | ||
|
||
The `requestHeaders` config option is now available. An allow list that gives the ability to define | ||
which request headers you want to be shown in sample detail views. The default is a list of common | ||
headers that do not include [personal identifiable information](https://docs.appsignal.com/appsignal/gdpr.html#allowed-request-headers-only). | ||
Read more about [request headers](https://docs.appsignal.com/application/header-filtering.html) on our documentation website. |
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
export {} | ||
|
||
import { Client } from "./src/interfaces" | ||
|
||
declare global { | ||
var __APPSIGNAL__: any | ||
var __APPSIGNAL__: Client | ||
} |
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
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
Submodule diagnose
updated
from b2bb42 to 38d035