Modal

Supported OS Linux Windows Mac OS

Integration version1.3.0

Modal

Overview

Modal lets you run generative AI models, large-scale batch jobs, job queues, and much more. This integration collects logs (stdout/stderr logging from your modal applications, or audit logs for your account) that you can visualize through Datadog dashboards and set up alerts for with Datadog monitors.

Setup

Installation

To set up the Modal integration:

  1. Navigate to the Modal tile on the Datadog Integrations page and click Install Integration.

  2. Click Connect Accounts to begin authorization of this integration. You will be redirected to log into Modal, and once logged in, you’ll be redirected to the Datadog authorization page.

  3. Click the Authorize button to complete setup.

Logs and metrics from your Modal apps should now start appearing in Datadog.

Data Collected

Logs

Modal collects all application (stdout/stderr logging for functions) and audit logs.

Events

Modal does not include any events.

Metrics

modal.cpu.utilization
(gauge)
Number of CPU cores in use
modal.memory.utilization
(gauge)
Memory in use
Shown as mebibyte
modal.gpu.compute.utilization
(gauge)
GPU compute utilization
modal.gpu.memory.utilization
(gauge)
GPU memory utilization
Shown as mebibyte
modal.input_events.successes
(count)
Number of successful completed inputs
modal.input_events.total_inputs
(count)
Number of completed inputs
modal.input_events.elapsed_time_us
(count)
Elapsed time of input events
Shown as microsecond

Uninstallation

Once this integration has been uninstalled, any previous authorizations are revoked and logs/metrics stop being emitted to Datadog.

  1. Navigate to the Modal metrics settings page and select Delete Datadog Integration.
  2. On the Configure tab in the Modal integration tile in Datadog, click Uninstall Integration.
  3. Confirm that you want to uninstall the integration.
  4. Ensure that all API keys associated with this integration have been disabled by searching for the integration name on the API Keys page.

Troubleshooting

Need help? Contact Modal support.

PREVIEWING: may/embedded-workflows