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

feat: add support for health-check flag #85

Merged
merged 2 commits into from
Jul 28, 2022
Merged

feat: add support for health-check flag #85

merged 2 commits into from
Jul 28, 2022

Conversation

enocom
Copy link
Member

@enocom enocom commented Jul 28, 2022

This is an adaptation of GoogleCloudPlatform/cloud-sql-proxy#1271.

@enocom enocom requested a review from a team July 28, 2022 16:48
cmd/root.go Outdated
Comment on lines 438 to 439
// Prometheus, health-check
// enabled.
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: is this line break right?

// See the License for the specific language governing permissions and
// limitations under the License.

// Package healthcheck tests and communicates the health of the Cloud SQL Auth proxy.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// Package healthcheck tests and communicates the health of the Cloud SQL Auth proxy.
// Package healthcheck tests and communicates the health of the AlloyDB Auth proxy.

cmd/root.go Outdated
// invocation. If a project has not been enabled, no traces or metrics are
// enabled.
// Configure collectors before the proxy has started to ensure we are
// collecting metrics before *ANY* Cloud SQL Admin API calls are made.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// collecting metrics before *ANY* Cloud SQL Admin API calls are made.
// collecting metrics before *ANY* AlloyDB Admin API calls are made.

@enocom enocom merged commit e0b95b9 into main Jul 28, 2022
@enocom enocom deleted the healthcheck branch July 28, 2022 17:12
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

Successfully merging this pull request may close these issues.

2 participants