Hi, I'm working on an experimental native histogram implementation in client_java.
Looking at client_golang, it seems you can observe math.Inf(), and bucket index math.MaxInt32 is used to represent the Inf bucket. <https://github.com/prometheus/client_golang/blob/95cf173f1965388665dcb2a28971f35af280e3a5/prometheus/histogram.go#L589-L590> https://github.com/prometheus/client_golang/blob/95cf173f1965388665dcb2a28971f35af280e3a5/prometheus/histogram.go#L589-L590 I'm wondering how to represent the Inf bucket as a BucketSpan in protobuf. Initially I set the offset to current index minus previous index, but obviously that doesn't work if the current index is MaxInt32. Any ideas? Not sure if this is covered in client_golang either https://github.com/prometheus/client_golang/blob/95cf173f1965388665dcb2a28971f35af280e3a5/prometheus/histogram.go#L1272-L1280 Fabian -- You received this message because you are subscribed to the Google Groups "Prometheus Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/57334da2-bbb4-49e9-b9da-1aa24a97231dn%40googlegroups.com.