mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 03:01:21 -04:00
[APM] Add 'deactivate_...' agent configuration settings for EDOT Node.js (#224502)
This makes the existing 'deactivate_all_instrumentations' and 'deactivate_instrumentations' agent configuration settings available to EDOT Node.js agents (`agent.name: opentelemetry/nodejs/elastic`).
This commit is contained in:
parent
f72bf857e7
commit
228db1a229
1 changed files with 8 additions and 10 deletions
|
@ -21,15 +21,13 @@ export const edotSDKSettings: RawSettingDefinition[] = [
|
|||
'xpack.apm.agentConfig.edot.deactivate_instrumentations.description',
|
||||
{
|
||||
defaultMessage:
|
||||
'Comma-separated list of modules to disable instrumentation for.\n' +
|
||||
'When instrumentation is disabled for a module, no spans will be collected for that module.\n' +
|
||||
'\n' +
|
||||
'The up-to-date list of modules for which instrumentation can be disabled is language specific ' +
|
||||
'and can be found under the following links: ' +
|
||||
'[opentelemetry/java/elastic](https://ela.st/otel-agent-instructions)',
|
||||
'Comma-separated list of instrumentation names to disable. When an instrumentation is disabled, no telemetry will be collected for the library/module it instruments. ' +
|
||||
'The list of supported instrumentation names is language specific:\n' +
|
||||
'- [EDOT Java](https://ela.st/otel-agent-instructions): for example "akka-http,grpc"\n' +
|
||||
'- [EDOT Node.js](https://ela.st/edot-node-disable-instrs): for example "net,dns,http"',
|
||||
}
|
||||
),
|
||||
includeAgents: ['opentelemetry/java/elastic'],
|
||||
includeAgents: ['opentelemetry/java/elastic', 'opentelemetry/nodejs/elastic'],
|
||||
},
|
||||
{
|
||||
key: 'deactivate_all_instrumentations',
|
||||
|
@ -41,10 +39,10 @@ export const edotSDKSettings: RawSettingDefinition[] = [
|
|||
description: i18n.translate(
|
||||
'xpack.apm.agentConfig.edot.deactivate_all_instrumentations.description',
|
||||
{
|
||||
defaultMessage: 'No spans will be collected for any instrumentation modules.\n' + '\n',
|
||||
defaultMessage: 'No spans will be collected for any instrumentation modules.',
|
||||
}
|
||||
),
|
||||
includeAgents: ['opentelemetry/java/elastic'],
|
||||
includeAgents: ['opentelemetry/java/elastic', 'opentelemetry/nodejs/elastic'],
|
||||
},
|
||||
{
|
||||
key: 'logging_level',
|
||||
|
@ -55,7 +53,7 @@ export const edotSDKSettings: RawSettingDefinition[] = [
|
|||
defaultMessage: 'Logging level',
|
||||
}),
|
||||
description: i18n.translate('xpack.apm.agentConfig.loggingLevel.description', {
|
||||
defaultMessage: 'Sets the logging level for the agent',
|
||||
defaultMessage: 'Sets the logging level for the agent.',
|
||||
}),
|
||||
options: [
|
||||
{ text: 'trace', value: 'trace' },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue