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
{{ message }}
This repository was archived by the owner on Jun 13, 2023. It is now read-only.
Copy file name to clipboardexpand all lines: README.md
+1
Original file line number
Diff line number
Diff line change
@@ -101,6 +101,7 @@ Available options:
101
101
|`collectorURL` |Optional |`-` |The address of the trace collector to send trace to |
102
102
|`ignoredKeys` |Optional |`-` |May contain strings (will perform a loose match, so that First Name also matches first_name) |
103
103
|`urlsToIgnore` |Optional |`-` |Ignore HTTP calls to specific domains |
104
+
|`payloadsToIgnore` |Optional |`-` | Array of dictionaries to not instrument. Example: `'{"source": "serverless-plugin-warmup"}'`(Not yet available for Node) |
104
105
|`labels` |Optional |`[]` |Global labels applied to all traces. For example "[['key', 'val']]". (Not available for Python) |
105
106
|`wrapper`|Optional |`lambda_wrapper/lambdaWrapper` | The wrapper to use to wrap this function. See [wrappers](#wrappers)| |
${urlsToIgnore ? `os.environ['EPSAGON_URLS_TO_IGNORE'] = '${urlsToIgnore}' if 'EPSAGON_URLS_TO_IGNORE' not in os.environ else os.environ['EPSAGON_URLS_TO_IGNORE']` : ''}
46
50
${ignoredKeys ? `os.environ['EPSAGON_IGNORED_KEYS'] = '${ignoredKeys}' if 'EPSAGON_IGNORED_KEYS' not in os.environ else os.environ['EPSAGON_IGNORED_KEYS']` : ''}
51
+
${payloadsToIgnore ? `os.environ['EPSAGON_PAYLOADS_TO_IGNORE'] = '${payloadsToIgnore}' if 'EPSAGON_PAYLOADS_TO_IGNORE' not in os.environ else os.environ['EPSAGON_PAYLOADS_TO_IGNORE']` : ''}
47
52
48
53
null = None # used to ignore arguments
49
54
undefined = None # used to ignore arguments
@@ -96,7 +101,7 @@ export function generateWrapperCode(
0 commit comments