Skip to main content

Overview

Async Integration let’s you log events and calls without placing Planck in your app’s critical path. This ensures that an issue with Planck will not cause an outage to your app.
1

Install Planck Async

2

Initialize Logger

3

Properties

You can set properties on the logger to be used in Planck using the withProperties method. (These can be used for Sessions, User Metrics, and more.)

Disabling Logging

You can completely disable all logging to Planck if needed when using the async integration mode. This is useful for development environments or when you want to temporarily stop sending data to Planck without changing your code structure.
When logging is disabled, no traces will be sent to Planck. This is different from disable_content_tracing() which only omits request and response content but still sends other metrics. Note that this feature is only available when using Planck’s async integration mode.

Supported Providers

  • OpenAI
  • Anthropic
  • Azure OpenAI
  • Cohere
  • Bedrock
  • Google AI Platform

Other Integrations