[GH-ISSUE #410] [UI / UX] Show Request Body instead of "HTTP POST from <ip address>" message in Log display of checks dashboard. #308

Closed
opened 2026-02-25 23:41:59 +03:00 by kerem · 4 comments
Owner

Originally created by @aeharvlee on GitHub (Aug 6, 2020).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/410

Hi, Thanks for the great project btw.
I'd like to suggest change of UI / UX in Log display of checks dashboard.

As-is: Logs displays preview message with "HTTP POST from "
To-be: Logs displays preview message with Request Body like "Temperature is now 35c. It looks good.".

In my humble opinion, "HTTP POST from " is quite useless.
That message does not help cron job administrator because what he wants is in Request Body.

So what do you think about replacing the preview message with the request body?

Many thanks to healthchecks team.
Kind regards.

Originally created by @aeharvlee on GitHub (Aug 6, 2020). Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/410 Hi, Thanks for the great project btw. I'd like to suggest change of UI / UX in Log display of checks dashboard. As-is: Logs displays preview message with "HTTP POST from <ip address>" To-be: Logs displays preview message with Request Body like "Temperature is now 35c. It looks good.". In my humble opinion, "HTTP POST from <ip address>" is quite useless. That message does not help cron job administrator because what he wants is in Request Body. So what do you think about replacing the preview message with the request body? Many thanks to healthchecks team. Kind regards.
kerem closed this issue 2026-02-25 23:41:59 +03:00
Author
Owner

@aeharvlee commented on GitHub (Aug 15, 2020):

image

As you can see, there are only meta messages of less important.
The hidden information is the IP address which is secret by the way.

<!-- gh-comment-id:674324758 --> @aeharvlee commented on GitHub (Aug 15, 2020): ![image](https://user-images.githubusercontent.com/48897274/90301806-ff8fb180-dedc-11ea-8229-9bbe0f8fc1f3.png) As you can see, there are only meta messages of less important. The hidden information is the IP address which is secret by the way.
Author
Owner

@piramiday commented on GitHub (Sep 22, 2020):

To-be: Logs displays preview message with Request Body like "Temperature is now 35c. It looks good.".

as a workaround, you could pass your message as the User-Agent string instead of python-requests/2.24.0...

curl -A "Temperature: 35C -- looks good" https://hc-ping.com/XXXYYYZZZ
<!-- gh-comment-id:697034400 --> @piramiday commented on GitHub (Sep 22, 2020): > To-be: Logs displays preview message with Request Body like "Temperature is now 35c. It looks good.". as a workaround, you could pass your message as the **User-Agent string** instead of `python-requests/2.24.0`... ``` curl -A "Temperature: 35C -- looks good" https://hc-ping.com/XXXYYYZZZ ```
Author
Owner

@aeharvlee commented on GitHub (Sep 23, 2020):

@piramiday

Thanks for your idea.

But i think changing user agent to custom logging is not good because the meaning of the user agent is lost.
It doesn't seem like a good idea in most case to directly touch the fields that mean the context of HTTP.

Nevertheless, the idea you presented seems like a good idea for the current version of the healthchecks.

<!-- gh-comment-id:697105864 --> @aeharvlee commented on GitHub (Sep 23, 2020): @piramiday Thanks for your idea. But i think changing user agent to custom logging is not good because the meaning of the user agent is lost. It doesn't seem like a good idea in most case to directly touch the fields that mean the context of HTTP. Nevertheless, the idea you presented seems like a good idea for the current version of the healthchecks.
Author
Owner

@cuu508 commented on GitHub (Aug 27, 2021):

@aeharvlee if you go to the Log page (click "Show More..." under the Log section), it shows truncated request body as well.

You can also click on individual entries to get full details in a popup dialog.

It's a matter of opinion, and depends on the use case, but I feel that showing request method, IP and User-Agent in the Details page makes sense in the most cases. It helps you determine if:

  • the client is making the right type of the request (GET/POST)
  • where the client is calling from (IP)
  • what software the client is running (User-Agent)

For example, you can easily tell apart test pings sent from a browser, pings sent by link scanning bots, pings made from your workstation IP vs your server IPs.

<!-- gh-comment-id:907073748 --> @cuu508 commented on GitHub (Aug 27, 2021): @aeharvlee if you go to the Log page (click "Show More..." under the Log section), it shows truncated request body as well. You can also click on individual entries to get full details in a popup dialog. It's a matter of opinion, and depends on the use case, but I feel that showing request method, IP and User-Agent in the Details page makes sense in the most cases. It helps you determine if: - the client is making the right type of the request (GET/POST) - where the client is calling from (IP) - what software the client is running (User-Agent) For example, you can easily tell apart test pings sent from a browser, pings sent by link scanning bots, pings made from your workstation IP vs your server IPs.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/healthchecks#308
No description provided.