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

Custom plugin

anjana_jose1
Newcomer

demo_plugin.zip

 

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.

2 REPLIES 2

Julius_Loman
DynaMight Legend
DynaMight Legend

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

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

Thank you so much

Featured Posts