cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

custom plugin

anjana_jose1
Newcomer

demo_plugin.zipi 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

2 REPLIES 2

Julius_Loman
Leader

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