Skip to content
This repository was archived by the owner on Jan 12, 2022. It is now read-only.
This repository was archived by the owner on Jan 12, 2022. It is now read-only.

Cannot implement healthcheck as described in docs #113

@mikelambert

Description

@mikelambert

The docs say:

You can write your own custom health-checking code. It should reply to /_ah/health requests with a HTTP status code 200.

However, this code and this handler appear to override the /_ah/health handler after the app is configured, such that the app cannot override the health handler in any way that I can see...

Is there some way I should be implementing my own health handler?

The only thing I can think of is to implement my own Dockerfile ENTRYPOINT that uses my own app, that tries to import vmruntime.wsgi.meta_app and override it after the fact...are there any other options?

(Note: I checked this awhile ago and noticed this behavior...finally getting around to writing up a bug report. Haven't checked it specifically on the latest code, but the issue looks to be the same.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions