|
@@ -637,6 +637,7 @@ func (p *Accesses) ClusterInfo(w http.ResponseWriter, r *http.Request, ps httpro
|
|
|
writeReportingFlags(data)
|
|
writeReportingFlags(data)
|
|
|
|
|
|
|
|
// Include Thanos Offset Duration if Applicable
|
|
// Include Thanos Offset Duration if Applicable
|
|
|
|
|
+ data["thanosEnabled"] = fmt.Sprintf("%t", thanos.IsEnabled())
|
|
|
if thanos.IsEnabled() {
|
|
if thanos.IsEnabled() {
|
|
|
data["thanosOffset"] = thanos.Offset()
|
|
data["thanosOffset"] = thanos.Offset()
|
|
|
}
|
|
}
|