upptime / upptime

⬆️ GitHub Actions uptime monitor & status page by @AnandChowdhary
https://upptime.js.org
MIT License
15.24k stars 859 forks source link

Live status 24h response time chart is always a flat line #848

Closed SukkaW closed 8 months ago

SukkaW commented 1 year ago

Describe the bug

The live status 24-hour response time chart is always a flat line

To Reproduce

Expected behavior

The line should not be flat.

Screenshots

Attached in reproduction.

Desktop (please complete the following information):

Additional context

AnandChowdhary commented 1 year ago

This is not an error per se I think. It's because there's only 1 item in the chart in the default configuration, but if you for example change the graph CI from once per day to 3 times per day, you'll see the graph with 3 data points. Do you think this makes sense?

SukkaW commented 1 year ago

It's because there's only 1 item in the chart in the default configuration, but if you for example change the graph CI from once per day to 3 times per day, you'll see the graph with 3 data points. Do you think this makes sense?

I see, but it is never documented. The docs only mention a configuration called workflowSchedule, and no further description is available.

madhuryadutta commented 10 months ago

Hello @AnandChowdhary ,

I would like to contribute to the documentation of https://upptime.js.org/ about the straight-line Graph issue.

I'm interested in working on this issue Because I have faced the same issue for my status page in the past.

I think Generating a graph and summary every 6 hours will be a good configuration. I am thinking of writing about it on the "CI schedule" (6 Data point for 24 Hour) and the "Frequently Asked Questions" section.

Thank you for considering my offer to contribute to the documentation.

Best regards, Madhurya Dutta

AnandChowdhary commented 10 months ago

Sounds good, happy to accept a PR!

SukkaW commented 10 months ago

I would like to contribute to the documentation of https://upptime.js.org/ about the straight-line Graph issue.

That would be awesome!

@AnandChowdhary Maybe we should make this the new default configuration?

AnandChowdhary commented 8 months ago

@SukkaW, I made the default once per day in order to not "spam up" the commit history. I think once per day is fine, and maybe we can just not show the graph if we don't have more than 2 data points? I don't think this is necessarily a bug so I'm going to close this issue for now, but if you want to continue the conversation, please feel free to head to the "Discussions" tab and start a new thread there. :)