keymetrics / pm2-plus-tech-questions

http://docs.keymetrics.io/docs/pages/faq-troubleshooting/
27 stars 3 forks source link

Every time I restart my app, all my transaction history is deleted #128

Closed juliobetta closed 6 years ago

juliobetta commented 6 years ago

Is this an expected behavior?

vmarchaud commented 6 years ago

Hello,

Yes for now thats the default behavior, PM2 will start to aggregate new transaction from 0 because we thought that when the application restarted it might be because the developer has done a deployment so he want to be sure that the data are corresponding to the deployment. However it should show you the history of percentiles even across restart (at the top of the transaction panel).

juliobetta commented 6 years ago

...it might be because the developer has done a deployment...

Not necessarily... maybe the developer wants to compare the time that an specific transaction took before and after the deployment.

vmarchaud commented 6 years ago

We know that its not perfect, we plan to remake our agent to incorporate open-tracing and improvements like this one. Currently planned around Q2 2018, do not hesitate to re-ping us if you want some update In the mean time i'm merging this issue with https://github.com/keymetrics/keymetrics-support/issues/122