Skip to content

Commit

Permalink
[APM] Add sanitize_field_names and transaction_ignore_urls config opt…
Browse files Browse the repository at this point in the history
…ions to Ruby agent (#85646)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
Mikkel Malmberg and kibanamachine authored Dec 16, 2020
1 parent a8d8b7f commit 39543e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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', 'go', 'dotnet', 'nodejs'],
includeAgents: ['java', 'python', 'go', 'dotnet', 'nodejs', 'ruby'],
},

// Ignore transactions based on URLs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ describe('filterByAgent', () => {
'capture_headers',
'log_level',
'recording',
'sanitize_field_names',
'span_frames_min_duration',
'transaction_ignore_urls',
'transaction_max_spans',
Expand Down

0 comments on commit 39543e8

Please sign in to comment.