This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
configuration.yaml
152 lines (134 loc) · 4.82 KB
/
configuration.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
# Manual a-priori configuration. Configuration will be only used when the sensor
# is actually installed by the agent.
# The commented out example values represent example configuration and are not
# necessarily defaults. Defaults are usually 'absent' or mentioned separately.
# Changes are hot reloaded unless otherwise mentioned.
# It is possible to create files called 'configuration-abc.yaml' which are
# merged with this file in file system order. So 'configuration-cde.yaml' comes
# after 'configuration-abc.yaml'. Only nested structures are merged, values are
# overwritten by subsequent configurations.
# Secrets
# To filter sensitive data from collection by the agent, all sensors respect
# the following secrets configuration. If a key collected by a sensor matches
# an entry from the list, the value is redacted.
#com.instana.secrets:
# matcher: 'contains-ignore-case' # 'contains-ignore-case', 'contains', 'regex'
# list:
# - 'key'
# - 'password'
# - 'secret'
# Host
#com.instana.plugin.host:
# tags:
# - 'production'
# - 'app1'
# Hardware & Zone
#com.instana.plugin.generic.hardware:
# enabled: true # disabled by default
# availability-zone: 'Datacenter A / Rack 42'
# Apache Httpd
#com.instana.plugin.httpd:
# user: ''
# password: ''
# Custom processes
# To enable low level metric and availability monitoring for not automatically
# discovered processes, uncomment the com.instana.plugin.process section and
# list all process names of processes that should be monitored.
# Sometimes scripts or other jobs are started through the same command, but
# only the execution of a single command should be monitored. In this case use
# arguments to specify any argument that should cause a process to be monitored.
#com.instana.plugin.process:
# processes:
# - 'sshd'
# - 'slapd'
# arguments:
# - '/opt/script.sh'
# Memcached
#com.instana.plugin.memcached:
# user: ''
# password: ''
# MongoDB
#com.instana.plugin.mongodb:
# user: ''
# source: '' # database where the user is defined
# password: ''
# Mssql
#com.instana.plugin.mssql:
# user: ''
# password: ''
# Mysql
#com.instana.plugin.mysql:
# user: ''
# password: ''
# MariaDB
#com.instana.plugin.mariadb:
# user: ''
# password: ''
# PostgreSQL
#com.instana.plugin.postgresql:
# user: ''
# password: ''
# Redis
#com.instana.plugin.redis:
# password: ''
# Instana requires the CONFIG command. If it was renamed using 'rename-command'
# this setting can be used to tell Instana the new name
# config-command: 'CONFIG'
# Monitor certain values in Redis
# monitor:
# - db: 0 # db number - defaults to 0 if absent
# key: 'logstash' # key of value, given as string
# type: 'list-length' # metric type. Currently only supports 'list-length'
# RabbitMq
#com.instana.plugin.rabbitmq:
# user: 'guest'
# password: 'guest'
# monitorQueues:
# - queue: queueName #name of the queue
# vhost: / #name of the vhost, default is '/'
# OracleDB
#com.instana.plugin.oracledb:
# password: ''
# user: '' #default is 'sys as sysdba'
# port: '' #default '1521'
# Java & Custom JMX
#com.instana.plugin.java:
# jmx:
# # JMX is NOT hot-reloaded and needs to be set before a JVM is discovered.
# # Supported attribute types are Number and Boolean
# # delta calculation is only supported for Number
# - object_name: 'java.lang:type=Compilation'
# metrics:
# - attributes: 'TotalCompilationTime'
# type: 'delta' # delta will report the change to the previous second
# - object_name: 'java.lang:type=ClassLoading'
# metrics:
# - attributes: 'LoadedClassCount'
# type: 'absolute' # absolute will report the value as-is
# Java Tracing
#com.instana.plugin.javatrace:
# instrumentation:
# # Lightweight Bytecode Instrumentation, enabled by default
# # Disabling currently requires an agent restart
# enabled: true
# # To enable using the SDK, provide a list of packages that should be
# # scanned for SDK annotations. All subpackages are scanned, as it is a
# # starts-with prefix matching.
# # Scanning a large amount of classes slows down agent attach and requires
# # more CPU for parsing, therefore it is recommended to limit to packages
# # actually using SDK annotations.
# # By default no packages are scanned for SDK annotations.
# sdk:
# packages:
# - 'com.instana.backend'
# - 'com.instana.frontend'
# PHP Tracing
#com.instana.plugin.php:
# # Lightweight PHP Tracing. Requires the Instana Tracing extension. Enabled by default.
# tracing:
# # Enabling tracing will automatically download the Instana Tracing
# # extension and enable it in your php.ini. If you are using preforked
# # PHP workers, like PHP-FPM, you will need to restart them. Disabling
# # tracing again will not remove the extension. It will only disable the
# # tracing sensor.
# enabled: true