Skip to content

Commit 39543e8

Browse files
Mikkel Malmbergkibanamachine
andauthored
[APM] Add sanitize_field_names and transaction_ignore_urls config options to Ruby agent (#85646)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
1 parent a8d8b7f commit 39543e8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

x-pack/plugins/apm/common/agent_configuration/setting_definitions/general_settings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ export const generalSettings: RawSettingDefinition[] = [
235235
'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.',
236236
}
237237
),
238-
includeAgents: ['java', 'python', 'go', 'dotnet', 'nodejs'],
238+
includeAgents: ['java', 'python', 'go', 'dotnet', 'nodejs', 'ruby'],
239239
},
240240

241241
// Ignore transactions based on URLs

x-pack/plugins/apm/common/agent_configuration/setting_definitions/index.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ describe('filterByAgent', () => {
149149
'capture_headers',
150150
'log_level',
151151
'recording',
152+
'sanitize_field_names',
152153
'span_frames_min_duration',
153154
'transaction_ignore_urls',
154155
'transaction_max_spans',

0 commit comments

Comments
 (0)