v0.0.24, you can selectively choose which BAML functions to instrument or exclude from instrumentation.
How it works
Ourinstrument_baml command now accepts optional include_functions and exclude_functions parameters that give you fine-grained control over instrumentation.
Usage Examples
Instrument only specific functions
If you want to instrument onlymyFunction1 and myFunction2:
Exclude specific functions
If you want to instrument everything exceptmyFunction1 and myFunction2:
You cannot use both
include_functions and exclude_functions at the same time. Choose the approach that makes more sense for your use case.