Skip to content

Commit

Permalink
Merge pull request #26 from pilksoc/c
Browse files Browse the repository at this point in the history
f
  • Loading branch information
djpiper28 authored Mar 3, 2024
2 parents 1cc5ea8 + 63cf994 commit b76dce4
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 b76dce4

Please sign in to comment.