OBP-API
OBP-API copied to clipboard
feature: add cache to Metric endpoints
In order to reduce frequently query metrics related db table, add cache to metrics endpoints. Accept criteria:
- Get Aggregate Metrics
- Get Connector Metrics
- Get Metrics
- Get Top APIs
- Get Top Consumers
questions:
- "Search API Metrics via Elasticsearch" also need add cache?
- If it is ok to add cache to MappedMetrics object? or add to ApiMethods300.scala?