# This is the monitoring configuration for CouchDB.
# Look for COUCHDB_HOST and COUCHDB_PORT to adjust your configuration file.
LoadPlugin curl_json
# When using non-standard CouchDB configurations, replace the below with
#
Instance "couchdb"
Type "counter"
Type "counter"
Type "gauge"
Type "gauge"
Type "gauge"
Type "counter"
Type "counter"
Type "counter"
Type "counter"
Type "counter"
Type "counter"
Type "counter"
Type "counter"
Type "counter"
Type "counter"
Type "counter"
Type "counter"
Type "counter"
Type "counter"
Type "counter"
Type "counter"
Type "counter"
Type "counter"
Type "counter"
Type "counter"
Type "counter"
Type "counter"
Type "counter"
Type "counter"
LoadPlugin match_regex
LoadPlugin target_set
LoadPlugin target_replace
Plugin "^curl_json$"
PluginInstance "^couchdb.*$"
PluginInstance "^couchdb" ""
Plugin "couchdb"
PluginInstance "^$"
PluginInstance "localhost"
Target "return"
Chain "curl_json_couchdb"
PreCacheChain "PreCache"