Tracker table, monitor_id and visible fields

Hi!

I would like to know the meaning of the monitor_id and visible fields of the tracker table.

Thank you!

Hi!

This is just what I gather from looking at the code:

  • monitor_id is simply the id on that table. It should probably be called tracker_id. I infer this from the fact that this gets a new GUID for every record:

https://github.com/salesagility/SuiteCRM/blob/master/modules/Trackers/TrackerManager.php#L61

  • visible is a property of some modules. Some modules are visible to tracker, some aren’t:

https://github.com/salesagility/SuiteCRM/blob/master/data/SugarBean.php#L361-L365

In my tracker table I see all entries are visible=1 except two which are both from module “Emails” and have visible=0.

Note that there was a recent bug that filled this table with records from module “EmailAddresses”. Even after the bug was fixed, there can be left-over entries there.

1 Like

What’s the point of this table anyhow? What is it meant for?

Surveilance, I guess.

It records which users did what on which screens…

1 Like

And this is always recorded by default?

I think so, because I didn’t do anything to turn it on, and it’s recording stuff in my system. I’m sure there’s an option to turn it off, but I don’t know where.

I tried Google and it seems SugarCRM 6.5 had a “Tracker” menu in Admin, but my SuiteCRM doesn’t seem to have it? :huh:

There is a job “Prune tracker tables” that you can schedule and deletes records from that table.

1 Like