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

Displaying custom host metrics using plugin


I've created a custom oneagent plugin using the SDK sending host metrics. However I'm unable to display those metrics from custom plugin in the UI. Metrics are not displayed at the host level and also cannot be seen using when building custom chart or when defining custom alerts. However metric data sent by the plugin be successfully retrieved using timeseries REST APIs ( https://{id} ).

Also it does not matter if I specify the "ui" part in the plugin.json file or not. Am I doing something wrong or is dynatrace not able to display custom host metrics at the moment?

My plugin.json:

"name": "custom.python.passwd_plugin",
"version": "1.2",
"type": "python",
"entity": "HOST",
"processTypeNames": ["LINUX_SYSTEM"],
"source": {
"package": "passwd_plugin",
"className": "PasswdPlugin",
"install_requires": [],
"activation": "Singleton"
"metrics": [
"timeseries": {
"key": "records",
"unit": "Count"
"timeseries": {
"key": "size",
"unit": "Byte"

TEMPEST a.s., Slovakia, Dynatrace Master Partner


Displaying metrics on host are not yet officially supported. Debug flag must be turned on in order to display host metrics on the UI. Please contact with your Dynatrace sales rep.

Could you tell me current status of this feature?
Is it needed to turn on the debug flag on latest version of OneAgent?
I'm trying to create an OneAgent plugin to display metrics on host.


Hi, what is the latest status here? Do we still need to use the debug flag?

As far as I've been told this should be available very soon. Definitely this year.

TEMPEST a.s., Slovakia, Dynatrace Master Partner

Awesome, we are eagerly waiting for this.

This already seems to be working (at least with Dynatrace 177+, Oneagent 175+). You get additional host tile:

For plugin example, see my simple host session count plugin available at:

TEMPEST a.s., Slovakia, Dynatrace Master Partner