You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "Jeremy Mitchell (JIRA)" <ji...@apache.org> on 2017/05/24 15:55:04 UTC
[jira] [Resolved] (TC-276) TO API: Expose CDN current stats thru
the API
[ https://issues.apache.org/jira/browse/TC-276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeremy Mitchell resolved TC-276.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.1.0
> TO API: Expose CDN current stats thru the API
> ---------------------------------------------
>
> Key: TC-276
> URL: https://issues.apache.org/jira/browse/TC-276
> Project: Traffic Control
> Issue Type: Improvement
> Components: Traffic Ops API
> Reporter: Jeremy Mitchell
> Assignee: Jeremy Mitchell
> Priority: Minor
> Fix For: 2.1.0
>
>
> Currently, CDN stats (bandwidth, connections and capacity) can be fetched via
> internal/api/$version/current_stats without authentication
> This data is valuable and should be available through the API once a user is "authenticated".
> This would simply require creating a route such as:
> $r->get("/api/$version/current_stats") -> over( authenticated => 1 ) -> to( 'CacheStats#current_stats', namespace => $namespace );
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)