Skip to content

mixpanel_custom_alert (Data Source)

Fetches a Mixpanel custom alert — a threshold-based notification that fires when a metric crosses a configured condition.

Example Usage

data "mixpanel_custom_alert" "latency_spike" {
  project_id      = 1234567
  custom_alert_id = 404
}

Only custom_alert_id and project_id are inputs; the remaining attributes are populated from the fetched alert.

Schema

Required

  • custom_alert_id (Number)
  • project_id (Number)

Optional

  • condition (String)
  • subscriptions (String)

Read-Only

  • id (Number) The ID of this resource.
  • name (String)