Alex on Nostr: This is so fucking epic. #Ditto with JSON logging to Loki and Grafana. I can get a ...
This is so fucking epic. #Ditto with JSON logging to Loki and Grafana. I can get a list of all SQL queries from all Ditto servers I run in the last 30 minutes that took > 1 second, complete with parameters.
Published at
2025-01-28 18:08:25Event JSON
{
"id": "71855ab4f61c463c28b692915d1d6fc5a962b86c852f98faaa8335192353ebc8",
"pubkey": "0461fcbecc4c3374439932d6b8f11269ccdb7cc973ad7a50ae362db135a474dd",
"created_at": 1738087705,
"kind": 1,
"tags": [
[
"imeta",
"url https://image.nostr.build/d6bf23373b8cd5e258a5d918dd30f5614fc6597ac2e0ad7765f55fb6b176c2e2.png",
"m image/png",
"x 05b231d9ca6d51e4ea307fabf9bf53084aeff7039de4d91c9344e48b83146bc0",
"ox d6bf23373b8cd5e258a5d918dd30f5614fc6597ac2e0ad7765f55fb6b176c2e2",
"size 189464",
"dim 1394x971",
"blurhash L03[#ht7RPja4mx]%Noz%Mj?WAj["
],
[
"t",
"ditto"
]
],
"content": "This is so fucking epic. #Ditto with JSON logging to Loki and Grafana. I can get a list of all SQL queries from all Ditto servers I run in the last 30 minutes that took \u003e 1 second, complete with parameters.\n\nhttps://image.nostr.build/d6bf23373b8cd5e258a5d918dd30f5614fc6597ac2e0ad7765f55fb6b176c2e2.png",
"sig": "ac139c54bce3207f81c467e35361a0954e0c71e9047f8b1231ba8aac6672142e66c33f6483fa07f47d57729c0cd42be80c7cf4c3c4bb23e116d5e0504f14c0df"
}