How to load prometheus data to custom table plugin

Hi Team ,

I had created a custom table plugin by extending existing table component. My requirement is to  add the existing datasource to my custom table plugin . Can any one please help me on this.

Thanks
Vinod