The entry point for metric collection is here: https://github.com/openwisp/openwisp-monitoring/blob/master/openwisp_monitoring/device/api/views.py#L47-L140
>From there on you can follow the imports to find how the data is written. F. On Fri, 21 Apr 2023 at 08:17, Logunath K <logunat...@gmail.com> wrote: > Ggretings... > Dear Federico, > The devices are working fine in > my public server it's awesome, just I wanted to know, where exactly the > code, the data is hitting to the database when device push the data to the > server. I know that information collected from the router/device is not > directly pushed to the database like influxdb and sqlite.db. In the > openwisp2 somewhere the code is written to push the data to the database. I > couldn't see that code after researching also. Please let me know where I > can see that. > > Thanks in advance. > > -- > You received this message because you are subscribed to the Google Groups > "OpenWISP" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to openwisp+unsubscr...@googlegroups.com. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/openwisp/CAJy2ivp38DHx2u%2BiYPn93KxG1yLkJc-pAWGw6VEu4HXAv%3D3xGA%40mail.gmail.com > <https://groups.google.com/d/msgid/openwisp/CAJy2ivp38DHx2u%2BiYPn93KxG1yLkJc-pAWGw6VEu4HXAv%3D3xGA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/CAAGgX6JWxEUwX6%3DQ5oXPTbn3k3zzFH7OjzpPh1X9Wz1_rNfr%3Dg%40mail.gmail.com.