The `kolide_launcher_info` should expose runtime.
I often want to see what the launcher runtime is. We should add that to the kolide_launcher_info table
Do we want a new column go_version set to runtime.Version() for this issue? Or something else?
Heh, I guess runtime is pretty ambiguous. I was thinking about uptime -- how old is this process.
But maybe there are good values from runtime that we should expose too.
(and yes, I think new columns)
Ah, I see we even already pull some of those runtime values in this table -- probably don't need to do anything other than the uptime here, then.
Proposed requirements for issue:
- On launcher startup, store the startup time (in the knapsack, or potentially in a new store like the
OsqueryHistoryInstanceStorestore if we think we might want to store history in the future) - Modify the kolide_launcher_info table to add a new column,
uptime, which should be the number of seconds since the launcher startup time
Sounds right. But....
- Not sure we need
launcher_uptime_friendly - The table is already
launcherI'd call the columnuptimeno need to repeat it
Updated!