#
# Copyright (c) AppDynamics Inc
# All rights reserved
#

# This is the friendly agent name that will show up in the controller when the agent registers and syncs configuration.
ad.agent.name=analytics-agent1

# This is the unique host id that identifies the agent.  It is optional and the agent will use the host name as the id
# if it is not specified here.
appdynamics.agent.uniqueHostId=

# Optional property that allows for manually assigning the agent installation directory.  If left blank the
# installation directory will be automatically derived.
appdynamics.agent.install.dir=

# Used only when resolving the host name automatically i.e the property 'appdynamics.agent.uniqueHostId'  is not set.
# If set to true the domain information, if present, will be stripped from the host name.
appdynamics.agent.use.simple.hostname=false

# To run multiple instances of this process provide an unique value for this property.
# This value will be used to name all the log files produced by this process and the process id file.
ad.process.name=analytics-agent

# The version of this configuration file. This should not be changed by the user.
ad.configuration.version=21

# To see:
#   Debug messages in development on the console, start JVM with:
#   "-Dad.dw.log.level=DEBUG -Dad.dw.console.log.level=DEBUG"
#
#   Info and more important messages in production,
#   only in the log file and a quiet console, start JVM with:
#   "-Dad.dw.log.level=WARN -Dad.dw.console.log.level=OFF"
ad.dw.log.level=INFO
ad.dw.log.path=${APPLICATION_HOME}/logs
ad.dw.console.log.level=OFF

ad.log.throttle.enabled=true
ad.log.throttle.cacheSize=100
ad.log.throttle.time=1
ad.log.throttle.timeUnit=minutes

# Maximum number of log sources that can run concurrently.  Any more will be queued up until there is room.
ad.max.runnable.sources=20
# Maximum single line message length for sysLogs (Must be between 3072 and 9216)
ad.sysLog.maxIncomingMessageLength=3072

# Number of seconds to wait between calls to persist latest watermark file
ad.log.analytics.watermark.persist.interval.seconds=1

# Bind to all interfaces.
ad.dw.http.host=0.0.0.0
ad.dw.http.port=9090
# Bind to all interfaces.
ad.dw.http.adminHost=0.0.0.0
ad.dw.http.adminPort=9091
ad.dw.http.log.level=WARN

# If set to true then https will be enabled on the port specified by the following property: ad.dw.http.port.
# drop wizard configuration properties
ad.dw.https.enabled=false
ad.dw.https.keyStorePath=
ad.dw.https.keyStorePassword=
ad.dw.https.keyStoreType=
ad.dw.https.trustStorePath=
ad.dw.https.trustStorePassword=
ad.dw.https.trustStoreType=
ad.dw.https.validateCerts=false
ad.dw.https.validatePeers=false
ad.dw.https.certAlias=

# The TLS protocol used for the connection to controller and Event Service.
# Change the value to "TLSv1.2" if you get an error message saying unknown TLS algorithm.
ad.http.tls.version=TLSv1.2

# This is the URL of the Appdynamics Controller. The port is the same port number you use to access the
# Appdynamics browser-based user interface. The Format should be http://<host>:<port>
ad.controller.url=http://localhost:8090

# This property needs to be set if the TruststorePath is different than the default.
# Specify the path along with filename. The password needs to be base64 encoded.
# analytics agent to controller communication
ad.controller.https.trustStorePath=
ad.controller.https.trustStorePassword=
# if the trustStoreType is not provided, it will default to JKS
ad.controller.https.trustStoreType=

# If value is blank it will use a default of 300 seconds.  If the value is set, this value will take precedence
# over the controller configured sync interval.
# Leave this blank unless you want to force this particular agent to a locally determined sync interval.
ad.controller.sync.success.interval.seconds=
ad.controller.sync.failure.baseInterval.seconds=60
ad.controller.sync.failure.maxInterval.seconds=480
ad.controller.sync.failure.interval.multiplier=2

# The location of the Analytics Event Service API.
http.event.endpoint=http://localhost:9080

# Use this property to use Controller's TruststorePath.
https.event.useController.trustStore=false
# This property needs to be set if the TruststorePath is different than the default and not using controller trustStore.
# Specify the path along with filename. The password needs to be base64 encoded
# analytics agent to event service communication
https.event.trustStorePath=
https.event.trustStorePassword=
# if the trustStoreType is not provided, it will default to JKS
https.event.trustStoreType=

http.event.error.retryAttempts=120
http.event.error.pauseMillis=1000
http.event.error.pauseMultiplier=2
http.event.error.maxPauseMillis=300000

# The customer name field from the appdynamics license page.
http.event.name=customer1
# The global name account in the Controller to which this Analytics data is associated.
http.event.accountName=analytics-customer1
# Replace this value with the access key of the account name configured above.
http.event.accessKey=your-account-access-key
# Replace this value to true if authentication for incoming BTs is needed.
inbound.bt.authenticate=false
# Replace this value to true if authentication for pipeline endpoints is needed.
ad.pipeline.resource.authenticate=false

# optional proxy properties
http.event.proxyHost=
http.event.proxyPort=
http.event.proxyUsername=
http.event.proxyPassword=

eventType.log=log_v1
eventType.bt=biz_txn_v1

pipeline.publish.log.instances=8
pipeline.publish.bt.instances=8
pipeline.maxMessagesPerPoll=24

conf.dir=${APPLICATION_HOME}/conf

# Number of seconds to wait between calls to the Analytics Event Service for retrieving extracted fields.
extractedFields.poll.intervalSeconds=60

# Set of key-value pairs that identify the analytics agent for configuration targeting.  For example,
# this might include information about the geography, pod, data center, etc that could be useful for grouping
# agents together when targeting configuration changes.  ie, "geo=us,pod=123,dc=northwest"
ad.agent.tags=

# Secure Credential Store (SCS) keyStore fully qualified file path name and obfuscated password fields.
ad.secure.credential.store.filename=
ad.secure.credential.store.password=
# if the credential store format is not provided, it will default to JCEKS.
ad.secure.credential.store.format=

# Agent property to enable "debug/grok" endpoint.
ad.debug.grok.endpoint.enabled=false

# End core properties.

# JVM properties.
ad.jvm.options.name=analytics-agent.vmoptions
ad.jvm.heap.min=1g
ad.jvm.heap.max=1g