How to develop Kibana custom plugin to add a custom agg type in Kibana Platform?

I want to update Kibana from v6.8.23 to v7.17.8, but the plugin kibana-datasweet-formula that I want to migrate to Kibana Platform do not work (Installation failed).

I found this place to register each agg type:

but I have no idea how to register my custom agg type.

Besides, the args type of agg type function is limited, see below:

How to add a new METRIC_TYPES without modifying the source code?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.