Hi,
I have created a error in error detection and defined it such that whenever the exception occurs, the transaction will be marked as failed.
I have created a incident rule by adding an exception to it.
Now, whenever the incident occurs, an email is sent, but I could add a business transaction name to it.
I am referring the documention of Extended EMail Action Plugin wherein it is mentioned that
>>>>>
Unfortunately, because of the limitations of the dynaTrace plugin interface, plugin has no ability to get name of the Business Transaction which was involved in the incident. Plugin only marks if violated measure was part of business transaction in the body of the e-mail.
<<<<<
Having said above, off-late is there a way to add a business Transaction name to the email body?
If there is no direct way, then can we do it by customizing a file as such
Please suggest and assist.
Thanks
Answer by Jared K. ·
If it is an error you created, have you set the error to mark the purepath as failed? If so, then the business transaction failure count should show this error occurred, correct? Then you could just have one incident set for each business transaction type and using the basic incident description you shouldn't have an issue with the names you are wanting. You may have to add business transaction failure count and use the "and" function to also add your measure to it to weed out fails from other exceptions but I am not sure why this would not work. Are you trying to avoid a separate incident for each business transaction?
Answer by Ajit K. ·
Hi Aniruddha,
You can achieve this using Generic Execution plugin. You have to configure Generic Execution Plugin on your dynaTrace server & below the step
HostName=${AGENT_HOST}
Agent=dynaTrace
Component=${RULE_NAME}
Instance=${ALL_AGENT_NAMES}
Message= JVM NAME: ${ALL_AGENT_NAMES}--MESSAGE: ${MESSAGE}--${VIOLATION_MESSAGE_1}--WARNING Threshold: ${VIOLATED_MEASURE_TRESHOLD_UPPER_WARNING}--SEVERE Threshold: ${VIOLATED_MEASURE_TRESHOLD_UPPER_SEVERE}--VMD: ${VIOLATED_MEASURE_DESCRIPTION}--VMMD: ${VIOLATED_MEASURE_METRIC_DESCRIPTION}
Here is link for configuration of Generic Execution plugin : https://community.dynatrace.com/community/display/DL/Generic+Execution+Plugin
Hope this helps.
Hi Ajit,
I saw the list of variables, but I didn't a variable for Business Transaction.
And I am wondering this plugin can be configured to send email
Thanks
Anirudha
Answer by Anirudha H. ·
Hi Brain,
Thanks for the information but the measure is not part of business transaction. The measure which I have created is an exception measure, which is added to incident rule.
In my case, even if I go with your approach I can't add the list of business transaction because there are many.
Please let me know if there any other way which fulfills my requirement.
Thanks Anirudha
Answer by Brian C. ·
Hi Anirudha,
I can't speak to the plugin you are referring to as I have never used it myself...
But have you tried simply inputting the name of the business transaction/transactions in the "Description" field when setting up the Incident? I actually practice this. I make a business transaction say, "sales transactions", make an incident triggering off of a measure within it, and describe in the "description" section which BT it came from.
The description field is also found in the email body - as what you are looking for.
Hope this helps
JANUARY 15, 3:00 PM GMT / 10:00 AM ET