OpenAI icon indicating copy to clipboard operation
OpenAI copied to clipboard

Swift / Core Metrics integration

Open AdonisCodes opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. No

Describe the solution you'd like Currently the OpenAI client doesn't have any way to track stuff via prometheus / any other metric aggregator. I would like to see some feature implementing swift-metrics into the client.

The great thing about swift-metrics is that it gets ignored by default unless you setup some aggregator.

Describe alternatives you've considered Before & After each client call adding a self created metric, gets annoying & requires me to write a thin wrapper over this entire package, which isn't ideal!

Additional context I would love to integrate this if I can get the green light!

AdonisCodes avatar Dec 31 '24 16:12 AdonisCodes

Hi @AdonisCodes , sorry for the late answer 😔 looks like you use this lib on Linux server? Do you still work on the project?

nezhyborets avatar May 08 '25 07:05 nezhyborets