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

tf: uptime for CirrusSearch backed MediaWiki api #843

Merged
merged 1 commit into from Apr 13, 2023
Merged

Conversation

tarrow
Copy link
Contributor

@tarrow tarrow commented Apr 12, 2023

Add uptime check and alert to uptime module for a
mediawiki api endpoint that depends on being able to contact elasticsearch.

This endpoint was chosen because it appears to always contact elasticsearch in order to obtain the mapping.

In order to determine success or failure we have to inspect the actual JSON response from the api since even errors return an HTTP status 200.

Doing this has resulted in exposing more of the underlying resources to the local configuration and added to the complexity of reading the resource and the module variables. However, it does ensure consistency with our other uptime checks and alerts.

This commit doesn't see this module actually being used

Add uptime check and alert to uptime module for a
mediawiki api endpoint that depends on being able to
contact elasticsearch.

This endpoint was chosen because it appears to always
contact elasticsearch in order to obtain the mapping.

In order to determine success or failure we have to inspect
the actual JSON response from the api since even errors return
an HTTP status 200.

Doing this has resulted in exposing more of the underlying
resources to the local configuration and added to the
complexity of reading the resource and the module variables.
However, it does ensure consistency with our other uptime checks
and alerts.

This commit doesn't see this module actually being used
@tarrow tarrow merged commit 3fcf350 into main Apr 13, 2023
3 checks passed
@tarrow tarrow deleted the uptimeCheckForSearch branch April 13, 2023 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants