You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2021/06/15 22:01:46 UTC

[GitHub] [trafficcontrol] mabrodis opened a new issue #5942: Traffic Stats does not failover to another TM when one stops responding

mabrodis opened a new issue #5942:
URL: https://github.com/apache/trafficcontrol/issues/5942


   ## I'm submitting a ...
   -  bug report
   
   ## Traffic Control components affected ...
   -  Traffic Stats
   
   
   ## Current behavior:
   Traffic Stats does not gracefully handle the situation when a Traffic Monitor it is using stops responding.  What happens currently is if the Traffic Monitor that TS is getting data from goes away then TS just will stop collecting stats and will not write out any stats/data/metrics to an output platform (e.g. InfluxDB).
   
   ## Expected behavior:
   Traffic Stats ideally should have a list of Online TMs that it can get data from and if one does not respond simply move on and use another one and continue to collect stats and output stats to whatever the desired output platform is.
   
   ## Minimal reproduction of the problem with instructions:
   1) Have TS running and have two Online TMs
   2) Stop TM1 and if TS does not log an error then start that one up and stop TM2.
   3) Once you stop the TM that TS is connecting to you will cease to see messages like this in the traffic_stats.log:
     [INFO] 2021-06-15 21:03:40 Collected XXX deliveryservice stats values for cdn @ 1623791020
     [INFO] 2021-06-15 21:03:40 Collected XXXX cache stats values for cdn @ 1623791020
   4) You won't see those messages because TS is not collecting stats because the TM it was using is not responding and it does not try the other TM, it appears to be stuck trying to use the one that is no longer responding.
   
   Versions in the test:
   TS: 3.0
   TM: 5.2
   
   ## Anything else:
   
   
   <!--
   Licensed to the Apache Software Foundation (ASF) under one
   or more contributor license agreements.  See the NOTICE file
   distributed with this work for additional information
   regarding copyright ownership.  The ASF licenses this file
   to you under the Apache License, Version 2.0 (the
   "License"); you may not use this file except in compliance
   with the License.  You may obtain a copy of the License at
   
       https://apache.org/licenses/LICENSE-2.0
   
   Unless required by applicable law or agreed to in writing,
   software distributed under the License is distributed on an
   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
   KIND, either express or implied.  See the License for the
   specific language governing permissions and limitations
   under the License.
   -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficcontrol] mitchell852 closed issue #5942: Traffic Stats does not failover to another TM when one stops responding

Posted by GitBox <gi...@apache.org>.
mitchell852 closed issue #5942:
URL: https://github.com/apache/trafficcontrol/issues/5942


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficcontrol.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org