Merged
Conversation
mxsrc
reviewed
Mar 23, 2026
Collaborator
mxsrc
left a comment
There was a problem hiding this comment.
I suppose this requires adaption of the loki/vector/grafana configuration?
Member
Author
|
Thanks, missed it. Have updated the vector-config.yaml to fix the parsing as per the new JSON logs. |
Member
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

python-json-logger hooks into the standard library's
loggingpackage so all the existing getLogger(name) continue to work just fine.This is controlled by
VELA_LOG_JSONenvironment variable. By default JSON logging is enabled.sample output:
{"timestamp": "2026-03-20T14:29:13+0000", "level": "INFO", "logger": "uvicorn.access", "message": "10.244.2.1:42880 - "GET /health HTTP/1.1" 200"}
{"timestamp": "2026-03-20T14:29:18+0000", "level": "INFO", "logger": "uvicorn.access", "message": "10.244.2.1:49488 - "GET /health HTTP/1.1" 200"}
{"timestamp": "2026-03-20T14:29:21+0000", "level": "INFO", "logger": "uvicorn.access", "message": "10.244.2.1:49502 - "GET /health HTTP/1.1" 200"}
{"timestamp": "2026-03-20T14:29:23+0000", "level": "INFO", "logger": "uvicorn.access", "message": "10.244.2.1:49508 - "GET /health HTTP/1.1" 200"}
{"timestamp": "2026-03-20T14:29:25+0000", "level": "INFO", "logger": "simplyblock.vela.api.resources", "message": "Found 1 branches"}
{"timestamp": "2026-03-20T14:29:25+0000", "level": "INFO", "logger": "httpx", "message": "HTTP Request: GET http://192.168.10.66/api/v2/clusters/0c296ee1-b91e-4ecd-8cf9-201a0d555f39/storage-pools/ "HTTP/1.1 200 OK""}
{"timestamp": "2026-03-20T14:29:25+0000", "level": "INFO", "logger": "httpx", "message": "HTTP Request: GET http://192.168.10.66/api/v2/clusters/0c296ee1-b91e-4ecd-8cf9-201a0d555f39/storage-pools/5f3bcaba-208b-4147-b3fa-bc44bc9d2db8/volumes/e21ef5b0-f97d-4a04-a3b8-b3c8b3d4f169/iostats "HTTP/1.1 200 OK""}