ossobv / gocollect

Data collector using go, periodically posts json to a REST api
GNU General Public License v3.0
6 stars 1 forks source link

Create metadata collector for custom host-specific data #19

Closed wdoekes closed 7 years ago

wdoekes commented 7 years ago

A collector could be: core.meta which reads out all values from /var/lib/gocollect/core.meta (a custom json blob).

It could contain stuff like:

{'roles': ['acceptance', 'loadbalancer'],
 'labels': ['unimportant']}

If we place it here, and not in core.id, we don't get it on the initial register-call. Is that necessary? Probably not, because we want to be able to update it afterwards anyway...