chore: silence jsonlogger deprecation, fix LogQL example (#26, #27)

This commit is contained in:
Jeff Smith 2026-04-19 12:04:38 -06:00
parent 75c825924b
commit 129625820b
2 changed files with 2 additions and 2 deletions

View file

@ -55,7 +55,7 @@ Example LogQL queries in Grafana Explore (Loki data source):
```
{container="quartermaster"} | json
{container="quartermaster", event="http_request", status=~"5.."}
{container="quartermaster", event="month_closed"} | json | line_format "{{.path}} {{.message}}"
{container="quartermaster", event="month_closed"} | json | line_format "{{.year_month}} {{.message}}"
```
HTTP access logs appear as `event="http_request"` with `method`, `path`,

View file

@ -3,7 +3,7 @@
"disable_existing_loggers": false,
"formatters": {
"json": {
"()": "pythonjsonlogger.jsonlogger.JsonFormatter",
"()": "pythonjsonlogger.json.JsonFormatter",
"fmt": "%(asctime)s %(levelname)s %(name)s %(message)s",
"rename_fields": {
"asctime": "timestamp",