mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-06-26 18:26:38 +00:00
more logging
This commit is contained in:
parent
ab614ee90a
commit
c00ad7792c
@ -71,7 +71,14 @@ export function wrapWithSpan<Args extends any[], T>(
|
||||
fn: (...args: Args) => Promise<T>,
|
||||
): (...args: Args) => Promise<T> {
|
||||
return async (...args: Args) => {
|
||||
console.log("WrapWithSpan", opts.name, otelInitialized, process.env.HONEYCOMB_API_KEY, process.env.HONEYCOMB_DATASET);
|
||||
console.log(
|
||||
"WrapWithSpan",
|
||||
opts.name,
|
||||
otelInitialized,
|
||||
process.env.ANTHROPIC_API_KEY,
|
||||
process.env.HONEYCOMB_API_KEY,
|
||||
process.env.HONEYCOMB_DATASET,
|
||||
);
|
||||
|
||||
return tracer.startActiveSpan(opts.name, async (span) => {
|
||||
if (opts.attrs) {
|
||||
|
Loading…
Reference in New Issue
Block a user