https://www.boundaryml.com logo
🟡 Monitoring usage and errors with BAML
# questions
j
I am currently following OTEL conventions & attributing:
Copy code
gen_ai.system
gen_ai.request.model
gen_ai.usage.input_tokens
gen_ai.usage.output_tokens
gen_ai.usage.total_tokens
gen_ai.cost.input_cost
gen_ai.cost.output_cost
gen_ai.cost.total_cost
gen_ai.response.latency_ms
I am then persisting this to the database associating it to the relevant entity. I then have a dashboard in my otel provider to understand usage. However, I am curious how you all monitor usage, errors, etc with BAML?