Date
1 - 7 of 7
So many hard-coded dropsonde destinations to metrons
Noburou TANIGUCHI
Hi,
(This is a post in proxy of my collegue.) There are so many hard-coded dropsonde destinations (actually each of them is a metron's listening port) in multiple repositories, while metron's listening port itself is configurable. Below is the list that we've found it is hard-coded: Are they going to be finally configurable in the near future, or is there any reason to hard-code them? Thanks in advance. ----- I'm not a ... noburou taniguchi -- View this message in context: http://cf-dev.70369.x6.nabble.com/So-many-hard-coded-dropsonde-destinations-to-metrons-tp1474.html Sent from the CF Dev mailing list archive at Nabble.com. |
|
Amit Kumar Gupta
Oddly, I can see your list on nabble here:
toggle quoted message
Show quoted text
http://cf-dev.70369.x6.nabble.com/So-many-hard-coded-dropsonde-destinations-to-metrons-tp1474.html But it's just blank in the email, and also on the cloudfoundry.org archive: https://lists.cloudfoundry.org/archives/list/cf-dev(a)lists.cloudfoundry.org/thread/73TWLI6BVETB5PCI4CBKXNCLUZRJJIIV/ Here's the list for anyone else trying to read it: garden-linux-release/src/github.com/cloudfoundry/dropsonde/dropsonde.go: 10:// dropsonde.Initialize("localhost:3457", origins...) garden-linux-release/src/ github.com/cloudfoundry-incubator/garden-linux/main.go: 175: "localhost:3457", github.com/cloudfoundry-incubator/auctioneer/cmd/auctioneer/main.go: 84: dropsondeDestination = "localhost:3457" github.com/cloudfoundry-incubator/bbs/cmd/bbs/main.go: 67: dropsondeDestination = "localhost:3457" github.com/cloudfoundry-incubator/converger/cmd/converger/main.go: 82: dropsondeDestination = "localhost:3457" github.com/cloudfoundry-incubator/diego-ssh/cmd/ssh-proxy/main.go: 68: dropsondeDestination = "localhost:3457" github.com/cloudfoundry-incubator/file-server/cmd/file-server/main.go: 59: dropsondeDestination = "localhost:3457" github.com/cloudfoundry-incubator/garden-linux/old/main.go: 178: "localhost:3457", github.com/cloudfoundry-incubator/nsync/cmd/nsync-bulker/main.go: 109: dropsondeDestination = "localhost:3457" github.com/cloudfoundry-incubator/nsync/cmd/nsync-listener/main.go: 53: dropsondeDestination = "localhost:3457" github.com/cloudfoundry-incubator/receptor/cmd/receptor/main.go: 120: dropsondeDestination = "localhost:3457" github.com/cloudfoundry-incubator/rep/cmd/rep/main.go: 166: dropsondeDestination = "localhost:3457" github.com/cloudfoundry-incubator/route-emitter/cmd/route-emitter/main.go: 91: dropsondeDestination = "localhost:3457" github.com/cloudfoundry-incubator/runtime-metrics-server/cmd/runtime-metrics-server/main.go : 65: "localhost:3457", github.com/cloudfoundry-incubator/stager/cmd/stager/main.go: 89: dropsondeDestination = "localhost:3457" github.com/cloudfoundry-incubator/tps/cmd/tps-listener/main.go: 53: dropsondeDestination = "localhost:3457" github.com/cloudfoundry-incubator/tps/cmd/tps-watcher/main.go: 74: dropsondeDestination = "localhost:3457" On Fri, Sep 4, 2015 at 3:34 AM, Noburou TANIGUCHI <dev(a)nota.m001.jp> wrote:
Hi, |
|
Noburou TANIGUCHI
Sorry, all
I used the "Raw text" function in Nabble, but it is not suitable for other environment. Thanks for telling, Amit. Amit Gupta wrote Oddly, I can see your list on nabble here: cf-dev(a).cloudfoundry /thread/73TWLI6BVETB5PCI4CBKXNCLUZRJJIIV/ dev(a).m001 > wrote:Hi, ----- I'm not a ... noburou taniguchi -- View this message in context: http://cf-dev.70369.x6.nabble.com/So-many-hard-coded-dropsonde-destinations-to-metrons-tp1474p1518.html Sent from the CF Dev mailing list archive at Nabble.com. |
|
Warren Fernandes
Dropsonde is a go library that allows the CF components using it to emit logs and metrics. The current flow for CF components is to emit their logs and metrics to their local metron agent which then forwards them to the Doppler servers in Loggregator. The metron agents only listen on the local interface and immediately signs the messages before sending them off to the Dopplers. So for now, the destination parameter for dropsonde will always point to the local metron agent.
Here is some more info on Metron https://github.com/cloudfoundry/loggregator/tree/develop/src/metron Here is some more info on Dropsonde https://github.com/cloudfoundry/dropsonde |
|
Noburou TANIGUCHI
Thank you, Warren.
So "localhost" is ok, but what about port numbers? Warren Fernandes wrote Dropsonde is a go library that allows the CF components using it to emit ----- I'm not a ... noburou taniguchi -- View this message in context: http://cf-dev.70369.x6.nabble.com/So-many-hard-coded-dropsonde-destinations-to-metrons-tp1474p1543.html Sent from the CF Dev mailing list archive at Nabble.com. |
|
Warren Fernandes
The LAMB team added a chore to discuss how we can better manage a dropsonde_incoming_port on the metron_agent over here https://www.pivotaltracker.com/story/show/102935222
We'll update this thread once we decide how to proceed. |
|
Noburou TANIGUCHI
We're happy to see it.
Thanks a lot, Warren. Warren Fernandes wrote The LAMB team added a chore to discuss how we can better manage a ----- I'm not a ... noburou taniguchi -- View this message in context: http://cf-dev.70369.x6.nabble.com/So-many-hard-coded-dropsonde-destinations-to-metrons-tp1474p1565.html Sent from the CF Dev mailing list archive at Nabble.com. |
|