You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "Ryan Durfey (JIRA)" <ji...@apache.org> on 2017/06/13 21:20:00 UTC

[jira] [Updated] (TC-274) cache_stats and deliveryservice_stats endpoints should use configurable retention period value

     [ https://issues.apache.org/jira/browse/TC-274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan Durfey updated TC-274:
---------------------------
     Labels: cache_stats deliveryservice_stats logs retention  (was: )
    Summary: cache_stats and deliveryservice_stats endpoints should use configurable retention period value  (was: TO API: cache_stats and deliveryservice_stats endpoints should use configurable retention period value)

> cache_stats and deliveryservice_stats endpoints should use configurable retention period value
> ----------------------------------------------------------------------------------------------
>
>                 Key: TC-274
>                 URL: https://issues.apache.org/jira/browse/TC-274
>             Project: Traffic Control
>          Issue Type: Improvement
>          Components: Traffic Ops API
>            Reporter: Jeremy Mitchell
>            Priority: Minor
>              Labels: cache_stats, deliveryservice_stats, logs, retention
>
> The implementation of the following APIs use hard-coded values for the Retention Period
> GET api/version/cache_stats
> GET api/version/deliveryservice_stats
> notice the "monthly" in the queries:
> https://github.com/apache/incubator-trafficcontrol/blob/master/traffic_ops/app/lib/Extensions/TrafficStats/Builder/CacheStatsBuilder.pm#L78
> https://github.com/apache/incubator-trafficcontrol/blob/master/traffic_ops/app/lib/Extensions/TrafficStats/Builder/CacheStatsBuilder.pm#L95
> https://github.com/apache/incubator-trafficcontrol/blob/master/traffic_ops/app/lib/Extensions/TrafficStats/Builder/DeliveryServiceStatsBuilder.pm#L81
> https://github.com/apache/incubator-trafficcontrol/blob/master/traffic_ops/app/lib/Extensions/TrafficStats/Builder/DeliveryServiceStatsBuilder.pm#L96
> this retention period name should be configurable and probably stored in the influxdb.conf files.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)