Skip to content

Endpoint is displayed as green although the endpoint has an error #1000

Open
@ThomasWetzel

Description

@ThomasWetzel

Describe the bug

I monitor an endpoint and want to compare a value of a json response:

If the endpoint returns something unexpected e. g.

{
"error": "One or both SOC values could not be retrieved"
}

then the endpoint indicator is green. Only if you hover over the endpoint then it is mentioned that there is an error.

What do you see?

A green endpoint although the endpoint has an error state.

What do you expect to see?

A red endpoint because the condition could not be resolved and the endpoint is not in an expected state.

List the steps that must be taken to reproduce this issue

  1. Create an endpoint with a condition that parses a json response.
  2. Return an unexpected result so it leads to an error.

Version

twinproduction/gatus:v3.3.3

Additional information

Thank you for your great work! :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions