Open danstoner opened 6 years ago
Current startup log looks something like:
$ npm start > idb-search-api@1.0.5 start /home/dstoner/git/idigbio-search-api > node index.js 2018-10-26T15:20:36.680Z - info: BEGIN LOGGING - SEVERITY = debug 2018-10-26T15:20:36.682Z - info: Current environment: development 2018-10-26T15:20:37.318Z - info: Using redis server: localhost 2018-10-26T15:20:41.807Z - info: Found updates to lastModified: {"records":"2018-10-13T15:13:05.710Z","mediarecords":"2018-10-13T15:09:10.877Z","recordsets":"2018-10-14T09:25:22.910Z","publishers":"2018-10-12T15:57:20.994Z"} 2018-10-26T15:20:41.808Z - info: updateLastModified durationMs=4464 2018-10-26T15:20:41.904Z - info: App warmup finished 2018-10-26T15:20:41.907Z - info: Server(main) listening on port 19196
What else would be useful to add to the startup log?
Also, what other features might be useful to see at the healthz endpoint?
Currently:
{ ENV: "development", path: "/healthz", version: "1.0.5", index: "idigbio", maxRecordsets: 10000, defaultLimit: 100, maxLimit: 5000, maxTileObjects: 10000, logging_severity: "debug" }
hostname (unqualified) could be useful.
hostname
hostname added to healthz in commit f29f8120a17ebdc13fd84f0678a22bd6961bd116
Current startup log looks something like:
What else would be useful to add to the startup log?
Also, what other features might be useful to see at the healthz endpoint?
Currently: