Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
- /stats_summary/create
- /deliveryservices/:id/state
- /cdns/configs
- /traffic_monitor/stats
- /servercheck/aadata
- /types/trimmed

Expand Down
7 changes: 7 additions & 0 deletions docs/source/api/traffic_monitor_stats.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*************************
``traffic_monitor/stats``
*************************
.. deprecated:: ATCv4
.. caution:: This page is a stub! Much of it may be missing or just downright wrong - it needs a lot of love from people with the domain knowledge required to update it.

``GET``
Expand Down Expand Up @@ -62,4 +63,10 @@ Response Structure
"0",
"0"
]
]
"alerts": [
{
"level": "warning",
"text": "This endpoint and its functionality is deprecated, and will be removed in the future"
}
]}
3 changes: 1 addition & 2 deletions traffic_ops/app/lib/API/TrafficMonitor.pm
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ sub get_host_stats {
}
$self->add_em_up( $big_obj, \%aadata, \$master_i );
###################### Main flow #####################

$self->render( json => \%aadata );
return $self->deprecation_with_no_alternative(200, \%aadata);
}

sub get_crstates {
Expand Down