@Pranay: Hey Pranay, sorry for the late answer. I have been tearing down and re-creating a signoz setup with terraform/ansible several times over the last few days. And was just wondering if there was a way to automatically provision a setup with pre-defined users.
Teymour
12/09/2022, 9:19 AM
But it's not critical as I will be saving the signoz.db (sqlite) to a seperate non deletable volume when the time comes.
Teymour
12/09/2022, 9:22 AM
Regarding the import of dashboards via API, where do you get the bearer token from? That's something I haven't been able to figure out yet with a quick search.
a
Ankit Nayan
12/10/2022, 7:04 PM
@Teymour there is an auth component at query-service. After a user provides correct credentials, they receive a bearer token which is stored at frontend and passed to every request to backend. Every token has an expiry period, probably 30 mins after which a new token is provided using refreshToken api
SigNoz is an open-source APM. It helps developers monitor their applications & troubleshoot problems, an open-source alternative to DataDog, NewRelic, etc.