Skills

Datadog. Mark every deploy on your Datadog dashboards as an event.

v2.0.0by musterDeploys, Rollbacks, Fleet

muster skill marketplace datadog
Source
A Datadog events list filtered to source muster: a success event Deployed web and a warning event Fleet rollback complete, each with tags.
Eventssource:muster
  • Deployed web

    2:14 PM

    Service web was successfully deployed.

    service:webhook:post-deploystatus:success
  • Fleet rollback complete: prod

    1:52 PM

    Fleet prod rolled back successfully.

    hook:fleet-rollback-endfleet:prodstatus:ok

Set up in three steps. Everything stays on this machine.

  1. Install it

    muster skill marketplace datadog
  2. Add your credentials

    muster skill configure datadog

    It asks for:

    • API keyhidden while you type
      MUSTER_DATADOG_API_KEY

      Organization Settings › API Keys

    • Site
      MUSTER_DATADOG_SITE

      datadoghq.com by default, or us3.datadoghq.com, datadoghq.eu

    Values go in the skill’s config.env, which muster loads before each run.

  3. Turn it on

    muster skill enable datadog

    From now on it runs by itself. Test it any time with muster skill run datadog.

When it runs. The hooks it listens to.

post-deploy
After each service deploys
post-rollback
After each rollback
fleet-deploy-end
A fleet deploy finishes
fleet-machine-deploy-end
A machine finishes deploying
fleet-rollback-end
A fleet rollback finishes

Needs curl on the machine that deploys.