STEP

Dynatrace event fired

This trigger handles Dynatrace Problem Notifications sent to Relay.

dynatrace-trigger-event-fired

This Dynatrace trigger fires when a Dynatrace Problem notification webhook is sent to relay. For more information check out the Dynatrace Problem Notifications webhook documentation

Data Emitted

Dynatrace gives you the flexiblity to define which problem details you want to pass to Relay. See an example below. The most common data points are listed here

NameData typeDescription
StatestringProblem state. Possible values are OPEN or RESOLVED or in some cases MERGED when the problem has been merged into another problem
ProblemIDstringDisplay number of the reported problem
PIDstringUnique system identifier of the reported problem
ProblemTitlestringShort description of the problem
ProblemURLstringURL of the problem within Dynatrace
ProblemSeveritystringSeverity level of the problem. Possible values are AVAILABILITY, ERROR, PERFORMANCE, RESOURCE_CONTENTION, or CUSTOM_ALERT
ProblemImpactstringImpact level of the problem. Possible values are APPLICATION, SERVICE, or INFRASTRUCTURE
TagsstringComma separated list of tags that are defined for all impacted entities.
ProblemDetailsTextstringAll problem event details including root cause as a text-formatted string
ProblemDetailsJSONstringAll problem event details including root cause in form of a json object

Example Trigger

To use this in your workflow, add a triggers section as below. For a complete example, see the ../../workflows/dynatrace-respond-to-problem/README.md workflow.

triggers:
- name: dynatrace-problem-event
  source:
    type: webhook
    image: relaysh/dynatrace-trigger-event-fired:latest
  binding:
    parameters:
      state: !Data State
      problemid: !Data ProblemId
      pid: !Data PID
      problemtitle: !Data ProblemTitle
      problemurl: !Data ProblemUrl 
      problemseverity: !Data ProblemSeverity
      problemimpact: !Data ProblemImpact
      problemdetailstext: !Data ProblemDetailsText
      tags: !Data Tags

Integrations in this step

Install the Relay CLI

Relay CLI is an essential companion for authoring and managing workflows. You can install it with a package manager or download it.
brew install puppetlabs/puppet/relay
Learn more about setting up Relay.

How to contribute

We’re excited to see and share in our community’s creation. Take a look at our community overview to learn how to begin contributing to Relay.