-
Notifications
You must be signed in to change notification settings - Fork 23
/
application.conf
53 lines (40 loc) · 1.13 KB
/
application.conf
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
// See the comments throughout this file for usage.
//
// ********** IMPORTANT **********
// This configuration file is only used if you're launching jmx2graphite as a
// client connecting to a Jolokia agent.
//
// If you're running jmx2graphite as an agent without Jolokia, you need to
// configure jmx2graphite with runtime arguments.
// *******************************
//
# The service to poll the JMX metrics from
service {
# REQUIRED. Service name
name = "SERVICE_NAME"
name = ${?SERVICE_NAME}
# Hostname. If not supplied, taking hostname from jolokiaFullUrl
host = ${?SERVICE_HOST}
poller {
jolokia {
// REQUIRED. URL of your Jolokia agent:
jolokiaFullUrl = "http://127.0.0.1:8778/jolokia/"
jolokiaFullUrl = ${?JOLOKIA_URL}
}
}
}
graphite {
hostname = ${GRAPHITE_HOST}
port = 8080
port = ${?GRAPHITE_PORT}
protocol = "UDP"
protocol = ${?GRAPHITE_PROTOCOL}
connectTimeout = 10
socketTimeout = 5
}
metricsPollingIntervalInSeconds = 30
metricsPollingIntervalInSeconds = ${?INTERVAL_IN_SEC}
filter {
whitelistRegEx = ${?WHITE_LIST_REGEX}
blacklistRegEx = ${?BLACK_LIST_REGEX}
}