[Feature Request] Add /health endpoint for system monitoring
#10773
-
DescriptionSummary Motivation
Proposed Solution {
"environment": {
"paperless_ngx_version": {
"backend": "2.18.3",
"frontend": "2.18.2",
"status": "mismatch"
},
"install_type": "docker",
"server_os": "Linux-6.1.0-38-amd64-x86_64-with-glibc2.36",
"media_storage": {
"available_gb": 11.5,
"total_gb": 48.0,
"usage_percent": 76.0
}
},
"database": {
"type": "postgresql",
"status": "ok",
"migration_status": "up_to_date"
},
"tasks_queue": {
"redis_status": "ok",
"celery_status": "ok"
},
"health": {
"search_index": {
"status": "ok",
"runnable": true
},
"classifier": {
"status": "ok",
"runnable": true
},
"sanity_checker": {
"status": "warning",
"runnable": true
}
}
}Benefits
OtherNo response |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
|
System status has an api endpoint, all of the UI works through the api |
Beta Was this translation helpful? Give feedback.
-
|
@Ezehkiel
Here is a working solution for Authelia: # yaml-language-server: $schema=https://www.authelia.com/schemas/v4.38/json-schema/configuration.json
###############################################################
# Authelia ACL #
###############################################################
access_control:
default_policy: 'deny'
rules:
- domain:
- paperless.xxx.yyy
resources:
- '^/api([/?].*)?$'
networks:
- '10.1.1.0/24'
policy: bypassMost monitoring solutions support adding custom headers used for probing. Example request: curl -X 'GET' -v --http1.1 -s \
-H 'Authorization: Token _____YOUR____RO____TOKEN' \
'https://paperless.xxx.yyy/api/status/'@shamoon
I’d like to have simple {
"status": "OK"
}…without querying the entire Paperless stack. It would be great if this endpoint was cheap to query - response time should be less than 20ms. |
Beta Was this translation helpful? Give feedback.
-
|
This discussion has been automatically closed because it was marked as answered. Please see our contributing guidelines for more details. |
Beta Was this translation helpful? Give feedback.
-
|
This discussion has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. See our contributing guidelines for more details. |
Beta Was this translation helpful? Give feedback.

System status has an api endpoint, all of the UI works through the api