Skip to content

Commit 964e8e9

Browse files
philipphofmannlizokm
authored andcommitted
feat: Scrubbing HTTP Data from HTTP Spans (#12026)
Explain that most SDKs will add the HTTP query string and fragment as a data attribute to spans. Co-authored-by: Liza Mock <[email protected]>
1 parent 99fb3fd commit 964e8e9

File tree

16 files changed

+16
-0
lines changed
  • docs/platforms
    • android/data-management/sensitive-data
    • apple/common/data-management/sensitive-data
    • dart/data-management/sensitive-data
    • dotnet/common/data-management/sensitive-data
    • elixir/data-management/sensitive-data
    • flutter/data-management/sensitive-data
    • go/common/data-management/sensitive-data
    • javascript/common/data-management/sensitive-data
    • java/common/data-management/sensitive-data
    • php/common/data-management/sensitive-data
    • powershell/data-management/sensitive-data
    • python/data-management/sensitive-data
    • react-native/data-management/sensitive-data
    • ruby/common/data-management/sensitive-data
    • rust/common/data-management/sensitive-data
  • platform-includes/sensitive-data/scrubbing-data

16 files changed

+16
-0
lines changed

docs/platforms/android/data-management/sensitive-data/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ Sensitive data may appear in the following areas:
5454
- User context → Automated behavior is controlled via <PlatformIdentifier name="send-default-pii" />.
5555
- HTTP context → Query strings may be picked up in some frameworks as part of the HTTP request context.
5656
- Transaction Names → In certain situations, transaction names might contain sensitive data. For example, a browser's pageload transaction might have a raw URL like `/users/1234/details` as its name (where `1234` is a user id, which may be considered PII). In most cases, our SDKs can parameterize URLs and routes successfully, that is, turn `/users/1234/details` into `/users/:userid/details`. However, depending on the framework, your routing configuration, race conditions, and a few other factors, the SDKs might not be able to completely parameterize all of your URLs.
57+
- HTTP Spans → Most SDKs will include the HTTP query string and fragment as a data attribute, which means the HTTP span may need to be scrubbed.
5758

5859
For more details and data filtering instructions, see <PlatformLink to="/configuration/filtering/">Filtering Events</PlatformLink>.
5960

docs/platforms/apple/common/data-management/sensitive-data/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ Sensitive data may appear in the following areas:
5858
- User context → Automated behavior is controlled via <PlatformIdentifier name="send-default-pii" />.
5959
- HTTP context → Query strings may be picked up in some frameworks as part of the HTTP request context.
6060
- Transaction Names → In certain situations, transaction names might contain sensitive data. For example, a browser's pageload transaction might have a raw URL like `/users/1234/details` as its name (where `1234` is a user id, which may be considered PII). In most cases, our SDKs can parameterize URLs and routes successfully, that is, turn `/users/1234/details` into `/users/:userid/details`. However, depending on the framework, your routing configuration, race conditions, and a few other factors, the SDKs might not be able to completely parameterize all of your URLs.
61+
- HTTP Spans → Most SDKs will include the HTTP query string and fragment as a data attribute, which means the HTTP span may need to be scrubbed.
6162

6263
For more details and data filtering instructions, see <PlatformLink to="/configuration/filtering/">Filtering Events</PlatformLink>.
6364

docs/platforms/dart/data-management/sensitive-data/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Sensitive data may appear in the following areas:
4848
- User context → Automated behavior is controlled via <PlatformIdentifier name="send-default-pii" />.
4949
- HTTP context → Query strings may be picked up in some frameworks as part of the HTTP request context.
5050
- Transaction Names → In certain situations, transaction names might contain sensitive data. For example, a browser's pageload transaction might have a raw URL like `/users/1234/details` as its name (where `1234` is a user id, which may be considered PII). In most cases, our SDKs can parameterize URLs and routes successfully, that is, turn `/users/1234/details` into `/users/:userid/details`. However, depending on the framework, your routing configuration, race conditions, and a few other factors, the SDKs might not be able to completely parameterize all of your URLs.
51+
- HTTP Spans → Most SDKs will include the HTTP query string and fragment as a data attribute, which means the HTTP span may need to be scrubbed.
5152

5253
For more details and data filtering instructions, see <PlatformLink to="/configuration/filtering/">Filtering Events</PlatformLink>.
5354

docs/platforms/dotnet/common/data-management/sensitive-data/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ Sensitive data may appear in the following areas:
5454
- User context → Automated behavior is controlled via <PlatformIdentifier name="send-default-pii" />.
5555
- HTTP context → Query strings may be picked up in some frameworks as part of the HTTP request context.
5656
- Transaction Names → In certain situations, transaction names might contain sensitive data. For example, a browser's pageload transaction might have a raw URL like `/users/1234/details` as its name (where `1234` is a user id, which may be considered PII). In most cases, our SDKs can parameterize URLs and routes successfully, that is, turn `/users/1234/details` into `/users/:userid/details`. However, depending on the framework, your routing configuration, race conditions, and a few other factors, the SDKs might not be able to completely parameterize all of your URLs.
57+
- HTTP Spans → Most SDKs will include the HTTP query string and fragment as a data attribute, which means the HTTP span may need to be scrubbed.
5758

5859
For more details and data filtering instructions, see <PlatformLink to="/configuration/filtering/">Filtering Events</PlatformLink>.
5960

docs/platforms/elixir/data-management/sensitive-data/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Sensitive data may appear in the following areas:
4848
- User context → Automated behavior is controlled via <PlatformIdentifier name="send-default-pii" />.
4949
- HTTP context → Query strings may be picked up in some frameworks as part of the HTTP request context.
5050
- Transaction Names → In certain situations, transaction names might contain sensitive data. For example, a browser's pageload transaction might have a raw URL like `/users/1234/details` as its name (where `1234` is a user id, which may be considered PII). In most cases, our SDKs can parameterize URLs and routes successfully, that is, turn `/users/1234/details` into `/users/:userid/details`. However, depending on the framework, your routing configuration, race conditions, and a few other factors, the SDKs might not be able to completely parameterize all of your URLs.
51+
- HTTP Spans → Most SDKs will include the HTTP query string and fragment as a data attribute, which means the HTTP span may need to be scrubbed.
5152

5253
For more details and data filtering instructions, see <PlatformLink to="/configuration/filtering/">Filtering Events</PlatformLink>.
5354

docs/platforms/flutter/data-management/sensitive-data/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Sensitive data may appear in the following areas:
4848
- User context → Automated behavior is controlled via <PlatformIdentifier name="send-default-pii" />.
4949
- HTTP context → Query strings may be picked up in some frameworks as part of the HTTP request context.
5050
- Transaction Names → In certain situations, transaction names might contain sensitive data. For example, a browser's pageload transaction might have a raw URL like `/users/1234/details` as its name (where `1234` is a user id, which may be considered PII). In most cases, our SDKs can parameterize URLs and routes successfully, that is, turn `/users/1234/details` into `/users/:userid/details`. However, depending on the framework, your routing configuration, race conditions, and a few other factors, the SDKs might not be able to completely parameterize all of your URLs.
51+
- HTTP Spans → Most SDKs will include the HTTP query string and fragment as a data attribute, which means the HTTP span may need to be scrubbed.
5152

5253
For more details and data filtering instructions, see <PlatformLink to="/configuration/filtering/">Filtering Events</PlatformLink>.
5354

docs/platforms/go/common/data-management/sensitive-data/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Sensitive data may appear in the following areas:
4848
- User context → Automated behavior is controlled via <PlatformIdentifier name="send-default-pii" />.
4949
- HTTP context → Query strings may be picked up in some frameworks as part of the HTTP request context.
5050
- Transaction Names → In certain situations, transaction names might contain sensitive data. For example, a browser's pageload transaction might have a raw URL like `/users/1234/details` as its name (where `1234` is a user id, which may be considered PII). In most cases, our SDKs can parameterize URLs and routes successfully, that is, turn `/users/1234/details` into `/users/:userid/details`. However, depending on the framework, your routing configuration, race conditions, and a few other factors, the SDKs might not be able to completely parameterize all of your URLs.
51+
- HTTP Spans → Most SDKs will include the HTTP query string and fragment as a data attribute, which means the HTTP span may need to be scrubbed.
5152

5253
For more details and data filtering instructions, see <PlatformLink to="/configuration/filtering/">Filtering Events</PlatformLink>.
5354

docs/platforms/java/common/data-management/sensitive-data/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ Sensitive data may appear in the following areas:
5454
- User context → Automated behavior is controlled via <PlatformIdentifier name="send-default-pii" />.
5555
- HTTP context → Query strings may be picked up in some frameworks as part of the HTTP request context.
5656
- Transaction Names → In certain situations, transaction names might contain sensitive data. For example, a browser's pageload transaction might have a raw URL like `/users/1234/details` as its name (where `1234` is a user id, which may be considered PII). In most cases, our SDKs can parameterize URLs and routes successfully, that is, turn `/users/1234/details` into `/users/:userid/details`. However, depending on the framework, your routing configuration, race conditions, and a few other factors, the SDKs might not be able to completely parameterize all of your URLs.
57+
- HTTP Spans → Most SDKs will include the HTTP query string and fragment as a data attribute, which means the HTTP span may need to be scrubbed.
5758

5859
For more details and data filtering instructions, see <PlatformLink to="/configuration/filtering/">Filtering Events</PlatformLink>.
5960

docs/platforms/javascript/common/data-management/sensitive-data/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ Sensitive data may appear in the following areas:
4949
- User context → Automated behavior is controlled via <PlatformIdentifier name="send-default-pii" />.
5050
- HTTP context → Query strings may be picked up in some frameworks as part of the HTTP request context.
5151
- Transaction Names → In certain situations, transaction names might contain sensitive data. For example, a browser's pageload transaction might have a raw URL like `/users/1234/details` as its name (where `1234` is a user id, which may be considered PII). In most cases, our SDKs can parameterize URLs and routes successfully, that is, turn `/users/1234/details` into `/users/:userid/details`. However, depending on the framework, your routing configuration, race conditions, and a few other factors, the SDKs might not be able to completely parameterize all of your URLs.
52+
- HTTP Spans → Most SDKs will include the HTTP query string and fragment as a data attribute, which means the HTTP span may need to be scrubbed.
5253

5354
For more details and data filtering instructions, see <PlatformLink to="/configuration/filtering/">Filtering Events</PlatformLink>.
5455

docs/platforms/php/common/data-management/sensitive-data/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ Sensitive data may appear in the following areas:
5454
- User context → Automated behavior is controlled via <PlatformIdentifier name="send-default-pii" />.
5555
- HTTP context → Query strings may be picked up in some frameworks as part of the HTTP request context.
5656
- Transaction Names → In certain situations, transaction names might contain sensitive data. For example, a browser's pageload transaction might have a raw URL like `/users/1234/details` as its name (where `1234` is a user id, which may be considered PII). In most cases, our SDKs can parameterize URLs and routes successfully, that is, turn `/users/1234/details` into `/users/:userid/details`. However, depending on the framework, your routing configuration, race conditions, and a few other factors, the SDKs might not be able to completely parameterize all of your URLs.
57+
- HTTP Spans → Most SDKs will include the HTTP query string and fragment as a data attribute, which means the HTTP span may need to be scrubbed.
5758

5859
For more details and data filtering instructions, see <PlatformLink to="/configuration/filtering/">Filtering Events</PlatformLink>.
5960

0 commit comments

Comments
 (0)