Datasource plugin for DB2

Hello,

I’m currently looking what is necessary to do to write a datasource plugin for DB2. I first looked at the examples provided on “https://grafana.com/docs/plugins/developing/development/”. My impression was that it is sufficient to write corresponding TypeScript code to get access to DB2. However if I look into the source code of Grafana I can see several go modules for PostgreSQL and MySQL. It looks like these connectors for SQL databases are much more integrated into the Grafana code. I would like to avoid that if possible for my DB2 datasource. Is that integration necessary and do I have to write similar code that exists for PostgreSQL and MySQL?

Thanks!

Regards
Martin Petermann

Hi @mpeterma, there is that one if you want inspiration : https://github.com/IBMProjectEventStore/db2eventstore-grafana