[APM] enable 'sanitize_field_names' for Go (#85373)

https://github.com/elastic/apm-agent-go/pull/856 added
central config support for 'sanitize_field_names' to the
Go agent, so we can now enable it in the UI too.
This commit is contained in:
Andrew Wilkins 2020-12-10 09:34:40 +08:00 committed by GitHub
parent 21d85b2cc0
commit d8a9407a8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -235,7 +235,7 @@ export const generalSettings: RawSettingDefinition[] = [
'Sometimes it is necessary to sanitize, i.e., remove, sensitive data sent to Elastic APM. This config accepts a list of wildcard patterns of field names which should be sanitized. These apply to HTTP headers (including cookies) and `application/x-www-form-urlencoded` data (POST form fields). The query string and the captured request body (such as `application/json` data) will not get sanitized.',
}
),
includeAgents: ['java', 'python'],
includeAgents: ['java', 'python', 'go'],
},
// Ignore transactions based on URLs

View file

@ -46,6 +46,7 @@ describe('filterByAgent', () => {
'capture_body',
'capture_headers',
'recording',
'sanitize_field_names',
'span_frames_min_duration',
'stack_trace_limit',
'transaction_max_spans',