Skip to content

Commit

Permalink
fix: Smaller granularity for Grafana fuseki durations (DEV-3776)
Browse files Browse the repository at this point in the history
  • Loading branch information
siers committed Jun 28, 2024
1 parent 923a7b0 commit 5c32060
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ case class TriplestoreServiceLive(
Metric.timer(
"fuseki_request_duration",
ChronoUnit.MILLIS,
// 7 buckets for upper bounds 10ms, 100ms, 1s, 10s, 1.6m, 16.6m, inf
Chunk.iterate(10.0, 6)(_ * 10),
// 7 buckets for upper bounds: 2 ms, 4 ms, 8 ms, 16 ms, 32 ms, 64 ms, inf
Chunk.iterate(2.0, 6)(_ * 2),
)

private def processError(sparql: String, response: String): IO[TriplestoreException, Nothing] =
Expand Down

0 comments on commit 5c32060

Please sign in to comment.