Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add yellow color option for non critical checks #853

Open
simo222 opened this issue Sep 3, 2024 · 6 comments
Open

add yellow color option for non critical checks #853

simo222 opened this issue Sep 3, 2024 · 6 comments
Labels
area/ui Related to the user interface

Comments

@simo222
Copy link

simo222 commented Sep 3, 2024

Describe the feature request

at the moment gatus has two colors. red and green. could you also add option for yellow color.

a possible option.

  - name: tst-app
    group: not-imortant
    url: https://localhost:8080/healthz
    interval: 60s
    color: yellow
    conditions:
      - "[STATUS] == 200"
      - "[BODY] == pat(*ok*)"
      

for custom check could be something like

 ` curl -X POST -H "Authorization: Bearer 123456" "http://127.0.0.1:8080/api/v1/endpoints/core_ext-ep-test/external?success=warning&error=xxxx"
  `
  success=warning could show a yellow color in gatus 

Why do you personally want this feature to be implemented?

some application are not very critical .

How long have you been using this project?

No response

Additional information

No response

@TwiN
Copy link
Owner

TwiN commented Sep 4, 2024

If I understand correctly, you'd want all failed checks for that endpoint to show up as yellow, correct?

@TwiN TwiN added the area/ui Related to the user interface label Sep 4, 2024
@simo222
Copy link
Author

simo222 commented Sep 4, 2024

For external endpoint i want to choose which color i send

For example disk alert. . If 80%full i want to send yellow . If 90%full i want to send red

For endpoint you are right. All yellow.
However i could think of some usee cases. For example if certificate expires in one week make it yellow. If one day make it red

I think also good to consider that group color which needs some logic. If there is one yellow check in the group, then make the group color yellow. If there is one check red, then make it red. Red has more prio than yellow

I used in the past this. I had this feature
https://xymon.com/

@TwiN
Copy link
Owner

TwiN commented Oct 26, 2024

To be honest, if we're going to make the error color customizable, we may as well allow more customization than just yellow. Either way, I think it's a great idea.

@laukik-target
Copy link

Can I take this up ?

@BassSingh
Copy link

Hi, Is anybody working on this at the moment? :) I raised #839 which is exactly like this and I think this is a wonderful idea!!

@nfroger
Copy link

nfroger commented Nov 20, 2024

It would be great if each test could have some kind of criticality. In my use case, it would be great to have a different color when an endpoint has a higher latency than usual because it is less critical than an endpoint not working at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui Related to the user interface
Projects
None yet
Development

No branches or pull requests

5 participants