How do we handle, if telegraf server crashes

I am trying to understand and figure out that if telegraf instance goes down, how doe we handle? We should have our own solution to store it somewhere? or telegraf does have some configuration already.

I checked the config and could understand that we have a configuration to store in buffer in case telegraf does not write to output.

As we are developing real time monitoring system on transaction data, we must have a way to handle failure scenario when application writes data.

Any suggestion/feedback/input will be a great help.

@shilpa Currently there is no on-disk persistence for telegraf so any data that is held in memory at the time of a crash will be lost. There is an issue open for the on-disk persistence for that feature.