emissary/python/templates
Hamzah Qudsi b4f73629f5 fix: have diagnostics endpoint always return a string for hmetric
Previously the diagnositcs endpoint would return either a string or number for hmetric. The agent always assumed it was a string. We have not ran into this previously due to cluster_stats being somewhat broken and would always returns string. But now that has been fixedwith 79a29b3 and e139053 it can now return a number which was breaking the agent. This change makes it that hmetric is always a string. Due to this, we also move the 'Unknown health' prefix if there are no requests yet to envoy_stats.py instead if in the diag jinja template.

Signed-off-by: Hamzah Qudsi <hqudsi@datawire.io>
2022-09-26 18:23:14 -04:00
..
diag.html fix: have diagnostics endpoint always return a string for hmetric 2022-09-26 18:23:14 -04:00
favicon.ico Moved /ambassador to /python 2019-10-04 22:54:53 +02:00
guidance.html Moved /ambassador to /python 2019-10-04 22:54:53 +02:00
overview.html (from AES) Updating documentation links to latest. 2021-03-30 13:48:10 -04:00
system-info.html Use "warning" rather than "info" for the default Envoy loglevel. 2020-06-05 10:38:31 -04:00