Update dash + csv_export.
parent
439518fda1
commit
209813bd87
1
Makefile
1
Makefile
|
@ -57,6 +57,7 @@ sqldu:
|
||||||
|
|
||||||
# ---------------------------- CSV Export ----------------------------
|
# ---------------------------- CSV Export ----------------------------
|
||||||
|
|
||||||
|
# NOT RECOMMENDED TO RUN for the firts time on hot live db, will chomp all available IO. stop services first
|
||||||
csv-export:
|
csv-export:
|
||||||
@nohup ./csv_export.sh > csv_export.out &
|
@nohup ./csv_export.sh > csv_export.out &
|
||||||
|
|
||||||
|
|
|
@ -45,5 +45,5 @@ EOF
|
||||||
|
|
||||||
# ------------------------------ Dump handles from plc-mirror ----------------------------------
|
# ------------------------------ 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
|
-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
|
"unitScale": true
|
||||||
},
|
},
|
||||||
"overrides": []
|
"overrides": []
|
||||||
|
@ -243,7 +243,7 @@
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"title": "Registrations rate",
|
"title": "Registration rate",
|
||||||
"type": "gauge"
|
"type": "gauge"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -1207,13 +1207,13 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"time": {
|
"time": {
|
||||||
"from": "now-24h",
|
"from": "now-2d",
|
||||||
"to": "now"
|
"to": "now"
|
||||||
},
|
},
|
||||||
"timepicker": {},
|
"timepicker": {},
|
||||||
"timezone": "",
|
"timezone": "",
|
||||||
"title": "Bsky Statistics",
|
"title": "Bsky Statistics",
|
||||||
"uid": "aXw6dQhSas",
|
"uid": "aXw6dQhSas",
|
||||||
"version": 9,
|
"version": 10,
|
||||||
"weekStart": ""
|
"weekStart": ""
|
||||||
}
|
}
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue