net.niebes.retrofit.metrics.MetricsRecorder.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of retrofit-metrics Show documentation
Show all versions of retrofit-metrics Show documentation
Implementation to retry retrofit calls with resilience4j
The newest version!
package net.niebes.retrofit.metrics
import java.time.Duration
interface MetricsRecorder {
fun recordTiming(tags: Map, duration: Duration)
}