Hello,
We are using a custom plugin similar to the WebTransactionMonitor plugin. On each run, it outputs some measurements such as response time, connect time, response size.
Also, it outputs detailed message with an overview of the run. This output message is very similar to the output from the WebTransactionMonitor plugin: Right click on a schedule, click detail and this view gives us the detailed message.
Is it possible to view this detailed message within a Dashboard/chart?
As an extension of this question, can we push this detailed message for use in an incident email alert?
Our scenario:
An application with 5 screens - the plugin will attempt to complete an end-to-end transaction spread across 5 screens. When the plugin encounters an error due to some reason (example: page load taking more than 30 seconds, page responding with 503, web server unreachable), a traffic light tied to a measurement changes status. Providing the detailed message close to the traffic light will be most useful.
--------------------------------------------
An example message:
TestSuiteName : RetrieveWorkFlowTasks
Overall Status of Run: Failed
Step1: Retrieve and verify Login Page - passed
Step2: Login using credentials - passed
Step3: Click on icon for Workflow Tasks queue - failed (Reason: Page does not have element - page contains message 503 service unavailable)
Step4: Verify if Workflow Tasks are present - skipped
Step5: Logout - skipped
-------------------------------------------------
Thanks
Answer by Andreas G. ·
Hi
Monitor plugins cannot return any additional alphanumeric values. We also wouldnt really know how to display that in a chart.
BUT - there are two things that come to mind.
#1: Create Dynamic Measures
Instead of just returning a single metric I suggest your plugin should return a so called "Dynamic Measure". A dynamic measure is a measure value for e.g: Response Time but for a particular instance, e.g: "Step 1". Check out this doc page: Best Practices and Examples#DynamicMonitorMeasures
With this you can chart your Response Time but it will show a value for each Step.
#2: Log your results to an HTML page
Some of the communtiy plugins write an output file, e.g: HTML file. If you do the same thing you could create a nice HTML page that you put on a web server. Then you can use the Web Page Dashlet to display that HTML page in your dynatrace dashboard
Hope this gives you some ideas
Andi
JANUARY 15, 3:00 PM GMT / 10:00 AM ET