forked from instana/instana-agent-ansible
-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.yml
130 lines (108 loc) · 5.78 KB
/
main.yml
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
# encoding: utf-8
---
# instana-agent - Attributes file - defining attributes for the instana-agent
# Author:: Stefan Staudenmeyer <stefan.staudenmeyer@instana.com>
# Copyright:: 2017, Instana, Inc.
# License:: Apache-2.0
# We won't make sure that the agent is running if this is set to false.
# The main purpose for setting this to false can be further templating,
# like setting database credentials in the configuration.yml file.
instana_agent_run: True
# The Instana Agent package repository will be configured only, when set
# to true. E.g. disable this, when you want have your own package repo/mirror
# setup.
instana_agent_configure_repo: True
# This mode specifies the mode under which the Instana agent should run.
# Possible values are "apm", "infrastructure" and "off".
# See:: https://docs.instana.io/quick_start/agent_configuration/#agent-mode
instana_agent_mode: "apm"
# These settings enable you to set hard resource limits for the Instana agent
# and its runtime underneath via Systemd CGroup settings.
# Possible values: True | False
# See:: https://docs.instana.io/quick_start/agent_configuration/#limiting-agents-cpu-and-memory-in-different-environments
instana_agent_limit_cpu_enabled: True
instana_agent_limit_cpu_quota: 0.5 # ( == 50%)
instana_agent_limit_memory_enabled: True
instana_agent_limit_memory_maxsize: 512 # (MB)
# We ship our Instana Agent in two flavors: "dynamic" and "static".
# The static flavored agent comes with a JDK (Zulu OpenJDK in a recent
# version) and a set of all recent sensors that we ship on a daily basis.
# It is the perfect fit when you have strict firewall settings and don't
# want the agents to connect to the internet, ever.
# The dynamic flavored agent comes with a JDK as well, and downloads the
# required sensors on startup phase.
# Possible values: "static" | "dynamic".
# See:: https://docs.instana.io/quick_start/agent_configuration/
instana_agent_flavor: 'dynamic'
# When you register with us you receive a string that makes the credentials you
# need in order to download the agent and its sensors. It can be seen as a
# tenantcy identifier across the platform.
# See:: https://docs.instana.io/quick_start/agent_configuration/#backend
instana_agent_agent_key: ""
# This is the machine the Instana agent will connect to directly. This will
# either be one of our SaaS endpoints, or your Instana on premises installation
# hostname or address.
# See:: https://docs.instana.io/quick_start/agent_setup/linux/#one-liner-installation
instana_agent_endpoint_host: "saas-us-west-2.instana.io"
# See instana.agent.endpoint.host. On our SaaS platform, the
# monitoring endpoint port is 443. For most on premises installations, this
# number is 1444.
# See:: https://docs.instana.io/quick_start/agent_setup/linux/#one-liner-installation
instana_agent_endpoint_port: 443
# The Instana agent updates its set of sensors automatically in the background
# unless configured differently.
# Possible values: True | False.
# See:: https://docs.instana.io/quick_start/agent_configuration/#agent-versioning-and-update-management
instana_agent_updates_enabled: True
# We support running the Instana agent with a specific set of sensors.
# Possible values: a string with a git commit hash.
instana_agent_updates_pin: ""
# See instana.agent.updates.enabled.
# Possible values: "DAY" | "MONDAY" | "TUESDAY"...
# See:: https://docs.instana.io/quick_start/agent_configuration/#agent-versioning-and-update-management
instana_agent_updates_interval: "DAY"
# See instana.agent.updates.enabled.
# Possible values: a string containing the time of the day where the update
# is scheduled, in 24h format.
# See:: https://docs.instana.io/quick_start/agent_configuration/#agent-versioning-and-update-management
instana_agent_updates_time: "04:30"
# The agent zone is a visual helper under which hosts are being categorized
# on the physical map. This, along with the list of host tags, can help filter
# and search.
# Possible values: a string containing UTF-8 characters.
# See:: https://docs.instana.io/quick_start/agent_configuration/#custom-zones
instana_agent_zone: ""
# The agent tags are a list of strings that will categorize the host machine
# and are. This, along with the list of host tags, can help filter and search.
# See:: https://docs.instana.io/quick_start/agent_configuration/#tags
instana_agent_tags: []
# com.instana.plugin.javatrace - Lightweight Bytecode Instrumentation
# 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.
instana_trace_packages: []
# We support running and updating the Instana agent through a proxy setup.
# See:: https://docs.instana.io/quick_start/on_prem/on_prem_agent_repository/#sonatype-nexus-proxy-setup
instana_agent_proxy_enabled: False
instana_agent_proxy_type: "http"
instana_agent_proxy_host: ""
instana_agent_proxy_port: 0
instana_agent_proxy_username: ""
instana_agent_proxy_password: ""
# Please set this to True when the machine cant resolve DNS itself and needs
# this to be taken care of by the proxy.
# See:: instana.agent.proxy enabled
instana_agent_proxy_dns: True
# If you mirror our agent sensor and update repository, you can specify its
# credentials and addresses here.
# See:: https://docs.instana.io/quick_start/on_prem/on_prem_agent_repository
instana_agent_mirror_enabled: False
instana_agent_mirror_auth_enabled: False
instana_agent_mirror_auth_username: ""
instana_agent_mirror_auth_password: ""
instana_agent_mirror_urls_release: ""
instana_agent_mirror_urls_shared: ""
## Process Abnormal Termination
instana_plugin_ebpf_enabled: false