digitalocean / do-agent

Collects system metrics from DigitalOcean Droplets
Apache License 2.0
599 stars 98 forks source link

enable mongodb metrics collection and whitelisting #299

Closed dragon9786 closed 1 year ago

dragon9786 commented 1 year ago

cc: @leoxlin and @mdanzinger for context. Do not merge yet until we have verified that the metrics from agent are scrapable.

leoxlin commented 1 year ago

I missed this in the first review but the new config is not actually being utilized. You will need to also hook up the aggregator / scraper See:

https://github.com/digitalocean/do-agent/blob/46d9ffa83bd42201537de94cbdcebcc71d1a9fdc/cmd/do-agent/config.go#LL286C5-L286C17

https://github.com/digitalocean/do-agent/blob/46d9ffa83bd42201537de94cbdcebcc71d1a9fdc/cmd/do-agent/config.go#L227