OBP-API icon indicating copy to clipboard operation
OBP-API copied to clipboard

feature: add cache to Metric endpoints

Open oldbig opened this issue 5 years ago • 0 comments

In order to reduce frequently query metrics related db table, add cache to metrics endpoints. Accept criteria:

  1. Get Aggregate Metrics
  2. Get Connector Metrics
  3. Get Metrics
  4. Get Top APIs
  5. Get Top Consumers

questions:

  1. "Search API Metrics via Elasticsearch" also need add cache?
  2. If it is ok to add cache to MappedMetrics object? or add to ApiMethods300.scala?

oldbig avatar Mar 03 '19 11:03 oldbig