Looks like this could be generally useful component:
Rename to mongo-doc-exporter or something similar that correctly conveys what it is
Add command line options for listing which attributes to export, probably needs some type specific handling a'la: --timestamp-attributes lastLogin --integer-attributes storageUsed --count-attributes targets --boolean-attributes disabled
Add command line options --labels username,email for attaching labels to metrics
Possibly add more options for filtering objects
Looks like this could be generally useful component:
* Rename to `mongo-doc-exporter` or something similar that correctly conveys what it is
* Add command line options for listing which attributes to export, probably needs some type specific handling a'la: `--timestamp-attributes lastLogin --integer-attributes storageUsed --count-attributes targets --boolean-attributes disabled`
* Add command line options `--labels username,email` for attaching labels to metrics
* Possibly add more options for filtering objects
Looks like this could be generally useful component:
mongo-doc-exporter
or something similar that correctly conveys what it is--timestamp-attributes lastLogin --integer-attributes storageUsed --count-attributes targets --boolean-attributes disabled
--labels username,email
for attaching labels to metrics