Take control of your third-party API dependencies with deep, context-aware observability. The Taskless loader provides comprehensive monitoring and telemetry for your external service calls, capturing everything from basic HTTP metrics to service-specific error details that traditional APM tools miss.
Out of the box, you get:
- Zero-config request & response monitoring
- Service-aware error detection beyond HTTP status codes
- Automatic correlation of API failures and root causes
- Local NDJSON logging that works with your existing tools
npm install @taskless/loader
# or
yarn add @taskless/loader
# or
pnpm add @taskless/loaderOnce you've installed the Taskless loader into your node dependencies, it's as easy as:
node --import="@taskless/loader" start.js| ENV value | type | default | description | 
|---|---|---|---|
| TASKLESS_FLUSH_INTERVAL | number | 2000 | Interval in milliseconds to check for pending logs and flush them to the output destinations | 
| TASKLESS_LOG_LEVEL | string | info | A console log level to allow through. One of: error,warn,log,info,debug | 
| TASKLESS_OUTPUT | string | console | A comma separated list of output destinations | 
| TASKLESS_DIRECTORY | string | ./.taskless | Directory that contains your local Taskless packs | 
A programatic API is available by importing taskless from @taskless/loader/core. It's signature is taskless(secret: string, options: Options):API. We encourage you to explore the TypeScript types to see what's available.
(coming soon)
# Build the project
pnpm install
pnpm build
# to retrieve the latest artifacts from Taskless
# calls scripts/generate.ts
pnpm codegenApache 2.0