Skip to content

server: create api to query persisted stats by date range #11159

Open
@cockroach-teamcity

Description

@cockroach-teamcity

Exalate commented:

PR: cockroachdb/cockroach#69238

From release notes:

Added a new endpoint /_status/combinedstmts to retrieve persisted and in-memory statements from crdb_internal.statement_statistics and crdb_internal.transaction_statistics by aggregated_ts range. The request supports optional query string parameters start and end, which are the date range in unix time. The response returned is currently the response expected from /_status/statements. /_status/statements has also been updated to support the parameters combined, start, and end. If combined is true, then the statements endpoint will use /_status/combinedstmts with the optional parameters start and end. [#69238][#69238]

Jira Issue: DOC-1453

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions