Slackbot
10/04/2022, 11:48 AMAnkit Nayan
docker exec -it query-service sh
OR
kubectl -n platform exec -it pod/my-release-signoz-query-service-0 -- sh
Run the following:
# install sqlite
apk update
apk add sqlite
# open sqlite with signoz.db
sqlite3 /var/lib/signoz/signoz.db
# (sqlite shell) check existing users
select * from users;
# (sqlite shell) delete all users
delete from users where 1=1;
# (sqlite shell) verify user deletion
select * from users;
# (sqlite shell) check existing organizations
select * from organizations;
# (sqlite shell) delete organization
delete from organizations where 1=1;
# (sqlite shell) verify org deletion
select * from organizations;
# press CTRL + D to exit from sqlite shell
# safely exit from the query-service container
exit
Kasim Ali
10/04/2022, 12:00 PMSigNoz is an open-source APM. It helps developers monitor their applications & troubleshoot problems, an open-source alternative to DataDog, NewRelic, etc.
Powered by