During the development of my kibana plugin : https://github.com/GregBoero/kbn_vis_multiple_graph
something hit me about metric.
is it possible to customize a metrics, by example, is it possible to create a conditional count / sum / unique count... ?
I saw that the metrics are stored in kibana\src\ui\public\agg_types\metrics but i don't understand it , there is a documentation or anything on the subject
Thanks and Regards