Dashboarding
Dynatrace dashboards, notebooks, and data explorer explained.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Extensions Dashboard

Mani_Muthu3001
Visitor

Hi Team,

 

We have requirement to create dashboard based on extensions in our tenant. We have multiple extensions.

    Actual number of configuration by extension
    Actual number of configuration by extension with issue
    Identification of in which configuration one IP address is configured

 

How to create above dashboard . Is there any metric or entity we can use ? 

Please help with DQL to achieve above requirements

 

4 REPLIES 4

t_pawlak
Champion

Hi,
try this:

metrics
| filter metric.key == "dsfm:extension.status"
| limit 20

Unfortunately, I don't have any extension connected to test it properly.
dsfm:extension.status is a Dynatrace self-monitoring metric used to check the health and deployment status of extensions (e.g., WMI, SNMP) in both SaaS and Managed environments. It identifies if an extension is running correctly or experiencing issues on specific hosts by tracking the state of monitoring configurations.

Thanks,

Can anyone help with DQL for above requirements if possible. 

We can't able to find configuration name from any metric. Only we can find configuration id

But in dashboard we need to show configuration name. Pls help

 

 

This is hard (or impossible) to achieve with pure DQL/metrics, because your requirements are configuration inventory (number of monitoring configurations, configuration name, and endpoint/IP values inside the configuration). That data typically doesn’t exist as runtime telemetry. Even when extension self-monitoring metrics are available, they often expose only a configurationId, while the configuration name and parameters (IP/host/endpoints) live in the Extensions 2.0 “monitoring configuration” objects (the same place the UI reads them from).
But I think is possible some workaround:
https://docs.dynatrace.com/docs/discover-dynatrace/references/dynatrace-api/environment-api/extensio...

SO first Pull the data via API (Extensions 2.0):

  • list monitoring configurations per extension,
  • read each configuration details (to get name + parameters/endpoints/IP),
  • optionally read configuration status/health to flag “with issue”.

then Create an “inventory snapshot” periodically (e.g., every 15–60 minutes).

Ingest the snapshot back into Dynatrace as either:

  • logs (simplest; great for IP search), or
  • custom metrics (e.g., a gauge value 1 with dimensions like extensionName, configName, configId, hasIssue) and build metric-based tiles

And show it on dashboard

Hi @Mani_Muthu3001 

I was able to come up with this DQL
fetch `dt.entity.extensions:configuration`
| fields extName, extConfigId,extHost, extAgGroup, customIconPath, icon, id

raksh_hitha_0-1769518834087.png


These have some fields that might be useful to you, we get ext name, and configID.., feel free to modify for your requirement. 

Featured Posts