Documentation is no longer aligned with the code?


The goal is to follow proper procedure since I believe this is a doc bug and I would like to open an issue.

Heartbeat exported fields doc contain 3 notes saying the timers might not be what they seem to be:

This was put there by urso in 2017.

Then on Nov 2018, it appear this "special case" was considered a bug in Heartbeat and fixed by Andrew_Cholakian1 in 6.6:

The question is:
What is this note now talking about? (The one in the doc about the timer and validator...)

The meaning of the timers are becoming really important for me currently and the code and doc are now confusing me more so I'm digging :nerd_face:

Unrelated but context never hurts:

  • Heartbeat 6.7.2
  • Elasticsearch 5.6.12 (yes, yes, I know :slight_smile: but I had no choice and I'm upgrading soon. )
  • Sample of a monitor:
- type: http
  name: alibabacloud_website_internet_https_global_notice
  # List or urls to query
    method: GET
    status: 200
    verification_mode: none
  mode: any
  # Configure task schedule
  schedule: '@every 10s'
  # Total test connection and data exchange timeout
  timeout: 25s

Thanks for digging into this. We should remove that note, you are correct it is no longer accurate.

I have an open issue to fix / consolidate these fields here:

I haven't had the time to get to it however.

I've also been thinking about there being a better way of doing timing. We currently have a number of timers within the app that can overlap. Understanding the definitions can be confusing.

It may be easier to just have a start/end timer, with offset values in between for various events. In other words, mark events over a span rather than report a bunch of different durations.

WDYT @martinr_ubi?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.