Adding custom jmx metrics to google cloud monitoring collectd configuration
问题 I've added the JVM Monitoring plugin as described here That's all working great and I can, but now I'd like to add more JMX metrics. e.g. MemoryPool specific counters So I've added this config to /opt/stackdriver/collectd/etc/collectd.d/jvm-sun-hotspot.conf <MBean "jvm_localhost_MemoryPool"> ObjectName "java.lang:type=MemoryPool,name=*" InstanceFrom "name" <Value> Type "gauge" InstancePrefix "memorypool-usage_used" Table false Attribute "Usage.used" </Value> </MBean> and Collect "jvm