Own Telegraf Plugin -- Need to scrape metrics from Prometheus clients

I want to make use of telegraf as plugin to scrape/pull metrics from applications which have Prometheus clients. How do I make use of Prometheus input plugin after which I need to perform some custom logic on metrics (conversion of prom format to a specific format) and then output the new format of metrics to a remote endpoint. I want to write a GO Application which has telegraf input plugin for Prometheus clients functionality and conversion of metrics from prom format to custom and output to remote endpoint by batches.

PS : I’m a starter to telegraf, please ignore if these are basics