Recreating Elasticsearch Datasource Plugin

Hello, I wish to recreate the Elasticsearch datasource plugin so that I can add in my own backend logic for queries while maintaining all the functionality of the Grafana Elasticsearch plugin. Is this a feasible task? And if so, would it be possible to share the dependencies from the package.json file that was used in its yarn environment?

If you asking if you can somehow include the built-in plugin in yours, I don’t believe it to be possible. What logic do you wish to add? Have you tried making a feature request?

The logic I am wishing to add is one where you can specify two queries: the first query is the target data and the second query is for referencing. The returned dataframe would the results of first query minus any results that have the same timestamp (or within a range of time) as a result in the second query.