镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Expose structured stats to application #461

Open

Description

@rosenhouse

Feature request: An application may need to monitor splinterdb stats and do its own processing on that data (e.g. push data to an external metrics aggregator, expose data in a UI, etc).

Possible solution: We could add a simple API in the splinterdb.h layer that allows the application to retrieve stats, for example something roughly like

typedef struct {
   ... // contains numeric fields for the various stats
       // that get printed by the current stats-printing code
} splinterdb_stats;

void splinterdb_stats_get(splinterdb *kvs, splinterdb_stats *stats_out);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions