a72f907eef
This patch adds a plugin that reads metrics from JSON files. This makes it very easy to integrate with Monasca -- instead of writing a new plugin, simply write your metrics to a file. The advantage of this mechanism is that: - It's simple and easy to understand - It is asynchronous with Monasca Agent. There are two technical advantages to this: - Your check does not need to run at same frequency as the agent. - If your check blocks, this does not affect other checks in the agent because the agent is not blocked. - You can create the metrics as a side effect of doing other stuff. For example, a server process can write the JSON file while it is processing requests. With the normal plugin architecture, you need to write code that talks to your server process to access the metrics. - You can write the check code in any language. Change-Id: I1e998fa677e16cc04d46edd46d0e6433131825e7 |
||
---|---|---|
.. | ||
activemq_58.yaml.example | ||
activemq.yaml.example | ||
apache.yaml.example | ||
cacti.yaml.example | ||
cassandra.yaml.example | ||
check_mk_local.yaml.example | ||
couch.yaml.example | ||
couchbase.yaml.example | ||
cpu.yaml | ||
crash.yaml.example | ||
directory.yaml.example | ||
disk.yaml | ||
docker.yaml.example | ||
elastic.yaml.example | ||
file_size.yaml.example | ||
gearmand.yaml.example | ||
gunicorn.yaml.example | ||
haproxy.yaml.example | ||
hdfs.yaml.example | ||
host_alive.yaml.example | ||
http_check.yaml.example | ||
http_metrics.yaml.example | ||
iis.yaml.example | ||
jenkins.yaml.example | ||
jmx.yaml.example | ||
json_plugin.yaml.example | ||
kafka_consumer.yaml.example | ||
kibana.yaml.example | ||
kyototycoon.yaml.example | ||
libvirt.yaml.example | ||
lighttpd.yaml.example | ||
load.yaml | ||
mcache.yaml.example | ||
memory.yaml | ||
mk_livestatus.yaml.example | ||
mongo.yaml.example | ||
mysql.yaml.example | ||
nagios_wrapper.yaml.example | ||
network.yaml | ||
nginx.yaml.example | ||
ntp.yaml.example | ||
ovs.yaml.example | ||
postfix.yaml.example | ||
postgres.yaml.example | ||
process.yaml.example | ||
rabbitmq.yaml.example | ||
redisdb.yaml.example | ||
riak.yaml.example | ||
solidfire.yaml.example | ||
solr.yaml.example | ||
sqlserver.yaml.example | ||
supervisord.yaml.example | ||
swift_diags.yaml.example | ||
tcp_check.yaml.example | ||
tomcat.yaml.example | ||
varnish.yaml.example | ||
vcenter.yaml | ||
vertica.yaml.example | ||
win32_event_log.yaml.example | ||
wmi_check.yaml.example | ||
zk.yaml.example |