TSDBStatisticsGetter is an interface to retrieve TSDB statistics.
| 121 | |
| 122 | // TSDBStatisticsGetter is an interface to retrieve TSDB statistics. |
| 123 | type TSDBStatisticsGetter interface { |
| 124 | // TSDBStatistics returns the TSDB statistics for the given tenant. |
| 125 | // When tenantID is empty, it returns statistics for all tenants. |
| 126 | TSDBStatistics(limit int, tenantID string) (map[string]tsdb.Stats, error) |
| 127 | } |
| 128 | |
| 129 | type TSDBStatisticsGetterFunc func(int, string) (map[string]tsdb.Stats, error) |
| 130 |
nothing calls this directly
no outgoing calls
no test coverage detected