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/08 19:08:04 UTC
[jira] [Updated] (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 updated TC-276:
-------------------------------
Description:
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 );
was:
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 );
> 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
>
> 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)