Skip to content

Commit

Permalink
asdnasjkldh
Browse files Browse the repository at this point in the history
  • Loading branch information
djpiper28 committed Mar 3, 2024
1 parent 542b2a6 commit 63cf994
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions kube_cache/metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ func (m *Metrics) IncrementGptErrors() {
}

func (m *Metrics) String() string {
return fmt.Sprintf(`kube_cache_hits=%d
kube_cache_misses=%d
kube_images_retrieved=%d
kube_dalle_requests=%d
kube_gpt_requests=%d
kube_dalle_errors=%d
kube_gpt_errors=%d`, m.CacheHits, m.CacheMisses, m.ImagesRetrieved, m.DalleRequests, m.GptRequests, m.DalleErrors, m.GptErrors)
return fmt.Sprintf(`kube_cache_hits %d
kube_cache_misses %d
kube_images_retrieved %d
kube_dalle_requests %d
kube_gpt_requests %d
kube_dalle_errors %d
kube_gpt_errors %d`, m.CacheHits, m.CacheMisses, m.ImagesRetrieved, m.DalleRequests, m.GptRequests, m.DalleErrors, m.GptErrors)
}

0 comments on commit 63cf994

Please sign in to comment.