Skip to content

Losing monitor for MongoDB for unknown reason #17170

Answered by ilyam8
kj415j45 asked this question in Q&A
Discussion options

You must be logged in to vote

@kj415j45

We recently changed go.d.plugin service discovery.

Old way: portscan kind of approach. Have hundreds of data collection jobs defined and try to start them on every start/restart.

New:

  • discover application during runtime:
    • host: find open ports by reading /proc/net/{tcp,tcp6,udp,udp6}.
    • docker: query Docker engine.
  • identify applications (find which collector we need to use) and create data collection jobs config.

For docker, we use image names to identify applications. And I didn't know there was mongodb/mongodb-community-server.

Fixed in #17173. It will be in tomorrow's nightly release.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@kj415j45
Comment options

@ilyam8
Comment options

@kj415j45
Comment options

@ilyam8
Comment options

Comment options

You must be logged in to vote
2 replies
@kj415j45
Comment options

@ilyam8
Comment options

Answer selected by kj415j45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants