This module provide stats query interfaces. These interfaces are used by motr monitoring/administrating utilities/console.
Interfaces m0_stats_query m0_stats_free
◆ m0_stats_free()
◆ m0_stats_query()
Stats query API It retrive stats from stats service of provided stats ids.
- Parameters
-
session | The session to be used for the stats query. |
stats_ids | Sequence of stats ids. |
stats | On success, stats information is returned here. It must be released using m0_stats_free(). |
- Return values
-
Pointer | to stats return by stats service. This should be freed by caller after use. It can be freed using m0_stats_free(). |