Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loggr-system-metric-scraper debug port should be configurable #2

Closed
ameowlia opened this issue May 6, 2021 · 4 comments
Closed

loggr-system-metric-scraper debug port should be configurable #2

ameowlia opened this issue May 6, 2021 · 4 comments

Comments

@ameowlia
Copy link
Member

ameowlia commented May 6, 2021

What

As a CF operator
I want to know which ports system components are using on the TCP Router VM
So that I can make sure they don't overlap with tcp router ports
So that my tcp router doesn't silently break. See issue here.

Steps to reproduce

  1. Deploy with the loggr-system-metric-scraper on any VM
  2. ssh onto that VM
  3. run netstat -tlpn | grep system-metrics
  4. note the ports it is running on
  5. run monit restart loggr-system-metric-scraper
  6. run netstat -tlpn | grep system-metrics
  7. see that one of the ports here does not match the ports from step 4

Expected

I want to be able to set the debug port as a bosh property and to have it respected.

Actual

The debug port is any random open port.

Technical Details

See the technical details for this 99% identical bug: cloudfoundry/loggregator-agent-release#44

I will submit a PR for this soon.

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

@ameowlia
Copy link
Member Author

ameowlia commented May 6, 2021

Per this doc, we should try to have the default port be 14921. If that is impossible, please update said doc.

@ameowlia
Copy link
Member Author

ameowlia commented May 7, 2021

Oops, 14921 is the metrics.port for the leader-election-agent job. This job isn't on the TCP Router, but they are both on other VMs.

@ameowlia
Copy link
Member Author

ameowlia commented May 7, 2021

Closing because it turns out I wanted system-metrics-agent job from the system-metrics release 🤦‍♀️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants