AllUserStatsHandler shows stats for all users.
(w http.ResponseWriter, r *http.Request)
| 2347 | |
| 2348 | // AllUserStatsHandler shows stats for all users. |
| 2349 | func (i *Ingester) AllUserStatsHandler(w http.ResponseWriter, r *http.Request) { |
| 2350 | stats := i.userStats() |
| 2351 | |
| 2352 | AllUserStatsRender(w, r, stats, 0, 0) |
| 2353 | } |
| 2354 | |
| 2355 | // AllUserStats returns ingestion statistics for all users known to this ingester. |
| 2356 | func (i *Ingester) AllUserStats(_ context.Context, _ *client.UserStatsRequest) (*client.UsersStatsResponse, error) { |
nothing calls this directly
no test coverage detected