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

Use director proxy_timeout also for metrics server #2381

Merged
merged 1 commit into from
Jun 16, 2022
Merged

Use director proxy_timeout also for metrics server #2381

merged 1 commit into from
Jun 16, 2022

Conversation

ionphractal
Copy link
Contributor

What is this change about?

Use proxy_timeout also for metrics server nginx configuration.

Please provide contextual information.

Depending on the size of the environment, the amount of metrics produced also increases and metrics gathering may take more than the default 60s proxy_read_timeout after which nginx responds with "504 Gateway Time-out".

What tests have you run against this PR?

After applying the change to a director the described symptom (504 Gateway Time-out)...

  1. curl the /metrics endpoint
  2. curl the /api_metrics endpoint

How should this change be described in bosh release notes?

Use director proxy_timeout also for metrics server

Does this PR introduce a breaking change?

No.

Tag your pair, your PM, and/or team!

@benjaminguttmann-avtq

@rkoster rkoster requested review from a team, beyhan and lnguyen and removed request for a team June 2, 2022 13:45
Copy link
Member

@lnguyen lnguyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@rkoster rkoster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rkoster
Copy link
Contributor

rkoster commented Jun 16, 2022

Thanks! @ionphractal

@rkoster rkoster merged commit 5ee64ee into cloudfoundry:main Jun 16, 2022
@ionphractal ionphractal deleted the patch-1 branch July 4, 2022 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants