Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add repositories metering API 7.x #62088

Merged
merged 1 commit into from
Sep 8, 2020
Merged

Conversation

fcofdez
Copy link
Contributor

@fcofdez fcofdez commented Sep 8, 2020

This pull request adds a new set of APIs that allows tracking the number of requests performed
by the different registered repositories.

In order to avoid losing data, the repository statistics are archived after the repository is closed for
a configurable retention period repositories.stats.archive.retention_period. The API exposes the
statistics for the active repositories as well as the modified/closed repositories.

Backport of #60371

This pull request adds a new set of APIs that allows tracking the number of requests performed
by the different registered repositories.

In order to avoid losing data, the repository statistics are archived after the repository is closed for
a configurable retention period `repositories.stats.archive.retention_period`. The API exposes the
statistics for the active repositories as well as the modified/closed repositories.

Backport of elastic#60371
@fcofdez fcofdez added >enhancement :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs backport Team:Distributed Meta label for distributed team v7.10.0 labels Sep 8, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (:Distributed/Snapshot/Restore)

@fcofdez fcofdez merged commit 2bb5716 into elastic:7.x Sep 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >enhancement Team:Distributed Meta label for distributed team v7.10.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants