Update dash + csv_export.
parent
439518fda1
commit
209813bd87
1
Makefile
1
Makefile
|
@ -57,6 +57,7 @@ sqldu:
|
|||
|
||||
# ---------------------------- CSV Export ----------------------------
|
||||
|
||||
# NOT RECOMMENDED TO RUN for the firts time on hot live db, will chomp all available IO. stop services first
|
||||
csv-export:
|
||||
@nohup ./csv_export.sh > csv_export.out &
|
||||
|
||||
|
|
|
@ -45,5 +45,5 @@ EOF
|
|||
|
||||
# ------------------------------ Dump handles from plc-mirror ----------------------------------
|
||||
|
||||
docker exec -it plc-postgres-1 psql -U postgres -d plc \
|
||||
docker exec -t plc-postgres-1 psql -U postgres -d plc \
|
||||
-c 'copy (select handle, did as "did:ID" from actors) to stdout with (format csv , header, force_quote ("handle"));' | sed -E -e 's/([^\\])\\",/\1\\\\",/g' > handles.csv
|
||||
|
|
|
@ -201,7 +201,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"unit": "repo/h",
|
||||
"unit": "users/h",
|
||||
"unitScale": true
|
||||
},
|
||||
"overrides": []
|
||||
|
@ -243,7 +243,7 @@
|
|||
"refId": "A"
|
||||
}
|
||||
],
|
||||
"title": "Registrations rate",
|
||||
"title": "Registration rate",
|
||||
"type": "gauge"
|
||||
},
|
||||
{
|
||||
|
@ -1207,13 +1207,13 @@
|
|||
]
|
||||
},
|
||||
"time": {
|
||||
"from": "now-24h",
|
||||
"from": "now-2d",
|
||||
"to": "now"
|
||||
},
|
||||
"timepicker": {},
|
||||
"timezone": "",
|
||||
"title": "Bsky Statistics",
|
||||
"uid": "aXw6dQhSas",
|
||||
"version": 9,
|
||||
"version": 10,
|
||||
"weekStart": ""
|
||||
}
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue