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

api integration for displaying which monitors do have maintenance and give informations about it #4752

Closed
blockiyt opened this issue May 11, 2024 · 2 comments
Labels
area:api concearning the api or automation feature-request Request for new features to be added

Comments

@blockiyt
Copy link

πŸ“‘ I have found these related issues/pull requests

🏷️ Feature Request Type

API / automation options

πŸ”– Feature description

An endpoint or an section in the metrics api to display informations about maintenance, and which service it has, for how long, etc.

βœ”οΈ Solution

like already said above

❓ Alternatives

web-scraping the status page, and building the informations together for yourself

πŸ“ Additional Context

No response

@blockiyt blockiyt added the feature-request Request for new features to be added label May 11, 2024
@CommanderStorm
Copy link
Collaborator

I think this is covered in #118 as the currently planned solution would essentially offer all current socket.io calls as REST endpoints
=> closed as a duplicate

@CommanderStorm CommanderStorm closed this as not planned Won't fix, can't repro, duplicate, stale May 11, 2024
@CommanderStorm CommanderStorm added the area:api concearning the api or automation label May 11, 2024
@CommanderStorm
Copy link
Collaborator

Ah forgot about the metrics:

We already have this metric

# HELP monitor_status Monitor Status (1 = UP, 0= DOWN, 2= PENDING, 3= MAINTENANCE)
# TYPE monitor_status gauge
monitor_status{monitor_name="online",monitor_type="http",monitor_url="https://google.com",monitor_hostname="null",monitor_port="null"} 1
monitor_status{monitor_name="under maintenacne",monitor_type="http",monitor_url="https://example.com",monitor_hostname="null",monitor_port="null"} 3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:api concearning the api or automation feature-request Request for new features to be added
Projects
None yet
Development

No branches or pull requests

2 participants