Fix config file tab indentation

This commit is contained in:
Cameron Sparr 2015-11-12 09:52:10 -07:00
parent 352ccde52b
commit 3012928452
2 changed files with 15 additions and 15 deletions

View File

@ -64,8 +64,8 @@ var sampleConfig = `
# List of tag names to extract from top-level of JSON server response # List of tag names to extract from top-level of JSON server response
# tag_keys = [ # tag_keys = [
# "my_tag_1", # "my_tag_1",
# "my_tag_2" # "my_tag_2"
# ] # ]
# HTTP parameters (all values must be strings) # HTTP parameters (all values must be strings)

View File

@ -47,22 +47,22 @@ type Jolokia struct {
func (j *Jolokia) SampleConfig() string { func (j *Jolokia) SampleConfig() string {
return ` return `
# This is the context root used to compose the jolokia url # This is the context root used to compose the jolokia url
context = "/jolokia/read" context = "/jolokia/read"
# Tags added to each measurements # Tags added to each measurements
[jolokia.tags] [jolokia.tags]
group = "as" group = "as"
# List of servers exposing jolokia read service # List of servers exposing jolokia read service
[[jolokia.servers]] [[jolokia.servers]]
name = "stable" name = "stable"
host = "192.168.103.2" host = "192.168.103.2"
port = "8180" port = "8180"
# List of metrics collected on above servers # List of metrics collected on above servers
# Each metric consists in a name, a jmx path and either a pass or drop slice attributes # Each metric consists in a name, a jmx path and either a pass or drop slice attributes
# This collect all heap memory usage metrics # This collect all heap memory usage metrics
[[jolokia.metrics]] [[jolokia.metrics]]
name = "heap_memory_usage" name = "heap_memory_usage"
jmx = "/java.lang:type=Memory/HeapMemoryUsage" jmx = "/java.lang:type=Memory/HeapMemoryUsage"
@ -75,14 +75,14 @@ func (j *Jolokia) SampleConfig() string {
drop = [ "committed" ] drop = [ "committed" ]
# This passes only DaemonThreadCount and ThreadCount # This passes only DaemonThreadCount and ThreadCount
[[jolokia.metrics]] [[jolokia.metrics]]
name = "heap_threads" name = "heap_threads"
jmx = "/java.lang:type=Threading" jmx = "/java.lang:type=Threading"
pass = [ pass = [
"DaemonThreadCount", "DaemonThreadCount",
"ThreadCount" "ThreadCount"
] ]
` `
} }