Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // SubSecondLatencyHistogramBuckets is a range of millisecond scale bucket boundaries which remain useful at around 1-2 seconds timescale in addition to smaller latencies. // We use seconds as units, Open Telemetry's default unit for time. SubSecondLatencyHistogramBuckets = createBuckets( []float64{0, 10, 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1200, 1400, 1600, 1800, 2000, 2500, 3000, 4000, 5000, 6000, 8000, 10000}, time.Millisecond, time.Second) // SubmissionAgeHistogramBuckets is an exponential range of buckets defined in seconds and intended to cover some reasonable ages of submissions. // This range is based on the default OTel buckets, but ranges from ~5s at the low end up to ~70days. SubmissionAgeHistogramBuckets = createBuckets( []float64{0, 0.1, 0.25, 0.5, 0.75, 1, 2, 5, 7.5, 10, 25, 50, 75, 100, 250, 500, 750, 1000, 2500, 5000, 7500, 10000, 25000, 50000, 75000, 100000}, time.Minute, time.Second) )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.