06 Mar 2020
01:50 AM
- last edited on
18 May 2023
07:01 AM
by
Michal_Gebacki
I created a custom plugin to return me mongodb process id. I uploaded the extension too but i am unable to see the data anywhere. Attaching the files.
Solved! Go to Solution.
Looking briefly at your plugin there are several issues, but most important - you don't extend the BasePlugin class.
You need to extend this class, implement the query method and passing the values using the results builder.
I recommend to first deploy the demo plugin from the SDK and see how it structured and how the values are passed.
You can also start by reading the documentation about how to write such plugin here:
https://dynatrace.github.io/plugin-sdk/readme.html#your-first-plugin
Thank you so much