fix: ensure logging status codes field names are consistent
What does this MR do?
LabKit logs all HTTP responses with a status
field of an integer. We
ensure that all errors now use this convention and store the full
status text as status_text
.
This is needed to enusre Elasticsearch doesn't drop logs due to mapping conflicts.
Changelog: fixed
TODO
-
I added the Changelog
trailer (e.g.Changelog: added
) to the commits that need to be included in the changelog -
I added unit tests or they are not required -
I added acceptance tests or they are not required -
I added documentation (or it's not required) -
I followed code review guidelines -
I followed Go Style guidelines
Edited by Stan Hu