Skip to content

Swift / Core Metrics integration #238

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
AdonisCodes opened this issue Dec 31, 2024 · 1 comment
Open

Swift / Core Metrics integration #238

AdonisCodes opened this issue Dec 31, 2024 · 1 comment

Comments

@AdonisCodes
Copy link

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!

@nezhyborets
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants