Treblle with Directus
Treblle integration for Directus, integrated as an extension in a form of hook, using middlewares.after event.
Install
Section titled “Install”npm install @treblle/directus-extension-treblleConfiguration
Section titled “Configuration”Use environment variables for providing Treblle credentials and configuration. Directus already supports .env file, so it enough to just append your variables there.
Treblle Configuration
Section titled “Treblle Configuration”# RequiredTREBLLE_API_KEY=your_api_keyTREBLLE_PROJECT_ID=your_project_id
# Optional# TREBLLE_SHOW_ERRORS=true# TREBLLE_FIELDS_TO_MASK=["password"]