capabilities.work

Annotate a Deployment with a Custom Event

A 3-step recipe with Dynatrace. We can help you get access.

Recipe · 3 steps

Annotate a Deployment with a Custom Event

Push a deployment event for a named service and verify it landed.

  1. Resolve the service display name to a Dynatrace entity ID so the event can be scoped precisely to that entity.
  2. Ingest a CUSTOM_DEPLOYMENT event onto the resolved service's timeline, carrying the version and deployer as event properties.
  3. List recent CUSTOM_DEPLOYMENT events affecting the service to confirm the deployment annotation was accepted and is visible.
What you'll need to have ready
  • serviceName: The display name of the service being deployed.
  • deploymentTitle: A short title describing the deployment (e.g. "Release v2.5.1").
  • version: The version identifier being deployed.
  • deployedBy: Who or what triggered the deployment (e.g. "CI/CD pipeline").
For your developer

Arazzo workflow dynatrace:annotate-deployment-event, 3 operations: lookupEntity → ingestEvent → listEvents. Specs on APIs.io.