How To
Summary
A quick guide on how to disable a specific sensor through the agent's configuration.
Steps
If you want to disable a specific sensor, you can do so by altering the configuration.yaml.
To do so, add the following line in the sensor configuration:
To do so, add the following line in the sensor configuration:
enabled: false
Some sensors already have this field, such as this one:
com.instana.plugin.aws.elb:
enabled: false
cloudwatch_period: 60
include_tags:
exclude_tags:
include_untagged: true
While some don't, such as this one:
# Clickhouse
com.instana.plugin.clickhouse:
user: default # the username used to access ClickHouse's HTTP interface
password: root # the password used to access ClickHouse's HTTP interface
protocol: http # 'http' or 'https'
host: localhost # the host name or IP of the ClickHouse server
httpPort: 8123 # the port of the ClickHouse server
monitorTables # more in-depth metrics for these tables
- 'database.table1'
- 'database.table2'
- 'database.table3'
But overall, adding the previously mentioned line like this - deactivates the sensor:
# Clickhouse
com.instana.plugin.clickhouse:
enabled: false # deactivates the sensor if set to false
user: default # the username used to access ClickHouse's HTTP interface
password: root # the password used to access ClickHouse's HTTP interface
protocol: http # 'http' or 'https'
host: localhost # the host name or IP of the ClickHouse server
httpPort: 8123 # the port of the ClickHouse server
monitorTables # more in-depth metrics for these tables
- 'database.table1'
- 'database.table2'
- 'database.table3'
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSE1JP5","label":"IBM Instana Observability"},"ARM Category":[{"code":"a8m3p000000UoUBAA0","label":"Sensors - Setup \u0026 Discovery"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]
Was this topic helpful?
Document Information
Modified date:
08 August 2023
UID
ibm17009011