Modal Logs

Learn how to send logs to Vigilant from your Modal functions. More info can be found in Modal's docs.

API Key

Open the Vigilant dashboard and generate an API key.

Create a new modal secret via the cli.

modal secret create vigilant OTEL_HEADER_X_API_KEY=<your-vigilant-api-token>

1. Open the Modal settings page.

2. Enable the "OTEL Integration" toggle.

3. Set the "OTEL Push URL" to:

https://otel.vigilant.run

4. Set the "OTEL Credentials Secret" to the "vigilant" secret you just created.

5. Click the "Save Changes" button. You can test the integration by clicking the "Test OTEL Integration" button.