Hi,
(sorry for answering so late)
To understand your question, you have custom metric that is manually implemented by your application ? Or you have some method you want to be instrumented by zorka in order to provide a metric ?
In case of custom metric, you can use zorka.jmx[] function in the same way that it is used for standard metrics. You need to know mbean object name and attribute name and then use zorka.jmx["java","my:mbean=name", "myAttribute"] as zabbix key in your zabbix template.
In case of custom instrumentations (and metrics generated dynamically by Zorka), you can use zorka.jmx["java", "my:mbean=name", "myStats", "myComponent", "calls"] etc. - please check LDAP template as an example for exact metrics from Zorka instrumentation.
Regards,
rle