Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Swift / Core Metrics integration

Aperta
#238 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
swift
Ambito
observability

Direzione di ricerca

Start by reading the OpenAI client call paths and the package’s dependency and test setup; the issue does not name specific files or tests. Determine where client calls could emit swift-metrics measurements and how metrics remain inactive without an aggregator. Done means client activity can be tracked through swift-metrics while preserving the default behavior; the issue has had no comment for 516 days, so confirm maintainers still want the work before starting.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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!

Lingua principale
Swift
Stelle
2.9k
Fork
519
Merge medio
4g 9h
PR unite (30g)
13

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di MacPaw/OpenAI

Tutte le issue di MacPaw/OpenAI

Issue simili

Altre issue su Swift

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.