You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/configuration.md
-4Lines changed: 0 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -188,10 +188,6 @@ const awsRum: AwsRum = new AwsRum(
188
188
| --- | --- | --- | --- |
189
189
| eventLimit | Number |`10`| The maximum number of resources to record load timing. <br/><br/>There may be many similar resources on a page (e.g., images) and recording all resources may add expense without adding value. The web client records all HTML files and JavaScript files, while recording a sample of stylesheets, images and fonts. Increasing the event limit increases the maximum number of sampled resources. |
190
190
| ignore | Function(event: PerformanceEntry) : any |`(entry: PerformanceEntry) => entry.entryType === 'resource' && !/^https?:/.test(entry.name)`| A function which accepts a [PerformanceEntry](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry) and returns a value that coerces to true when the PerformanceEntry should be ignored.</br></br> By default, [PerformanceResourceTiming](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming) entries with URLs that do not have http(s) schemes are ignored. This causes resources loaded by browser extensions to be ignored. |
191
-
| recordAllTypes | String[]|['document', 'script', 'stylesheet', 'font']| A list of resource types that are always recorded, no matter if the resource event limit has been reached. Possible values are 'other', 'stylesheet', 'document', 'script', 'image', and 'font'. |
192
-
| sampleTypes | String[]|['image', 'other']| A list of resource types that are only recorded if the resource event limit has not been reached. Possible values are 'other', 'stylesheet', 'document', 'script', 'image', and 'font'. |
193
-
| reportAllLCP | boolean | FALSE | If true, then all increases to LCP are recorded. |
194
-
| reportAllCLS | boolean | FALSE | If true, then all increases to CLS are recorded. |
195
191
196
192
For example, the following telemetry config array causes the web client to ignore all resource entries.
0 commit comments