Skip to content

Commit

Permalink
Merge remote-tracking branch 'sashayakovtseva/add-histogram' into bui…
Browse files Browse the repository at this point in the history
…ld-image
  • Loading branch information
sashayakovtseva committed Dec 1, 2023
2 parents 1591816 + 8913bc7 commit 0829d20
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions internal/datastore/postgres/postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,21 @@ var (

tracer = otel.Tracer("spicedb/internal/datastore/postgres")

// 50µs, 100µs, 500µs, 1ms, 5ms, 10ms, 50ms, 100ms, 150ms
pgxpoolBucketsNs = []float64{50000, 100000, 500000, 1000000, 5000000, 10000000, 50000000, 100000000, 150000000}
// 50µs, 100µs, 200µs, 500µs, 1ms, 2ms, 5ms, 10ms, 20ms, 50ms, 100ms, 200ms
pgxpoolBucketsNs = []float64{
50_000,
100_000,
200_000,
500_000,
1_000_000,
2_000_000,
5_000_000,
10_000_000,
20_000_000,
50_000_000,
100_000_000,
200_000_000,
}
)

type sqlFilter interface {
Expand Down

0 comments on commit 0829d20

Please sign in to comment.