OpenSearch/x-pack/plugin/repositories-metering-api/src
Francisco Fernández Castaño 2bb5716b3d
Add repositories metering API (#62088)
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
2020-09-08 14:01:04 +02:00
..
main/java/org/elasticsearch/xpack/repositories/metering Add repositories metering API (#62088) 2020-09-08 14:01:04 +02:00
test/java/org/elasticsearch/xpack/repositories/metering Add repositories metering API (#62088) 2020-09-08 14:01:04 +02:00