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

Add observability to Querier endpoints #28

Closed
wants to merge 2 commits into from
Closed

Conversation

hczhu-db
Copy link
Collaborator

@hczhu-db hczhu-db commented Apr 4, 2024

image

@hczhu-db hczhu-db requested a review from jnyi April 4, 2024 23:45
{
level.Info(es.logger).Log("msg", "All gPRC endpoints for querying")
for _, s := range endpointSpecs() {
level.Info(es.logger).Log("msg", "One gPRC endpoint for querying", "address", s.addr, "strict", s.isStrictStatic)
Copy link
Collaborator

Choose a reason for hiding this comment

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

make it debug only to avoid it is too noisy, @mingzhao-db complained about our log volume previously

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This function is called once to create a new endpoint set.

[dev-aws-eu-west-1] [pantheon] [pantheon-range-querier-deployment-57f975f46c-8l7gn] > logs | rg 'All gPRC endpoints for querying'
ts=2024-04-05T00:45:36.699595553Z caller=endpointset.go:366 level=info name=pantheon-range-querier component=endpointset msg="All gPRC endpoints for querying"

@hczhu-db
Copy link
Collaborator Author

hczhu-db commented Apr 8, 2024

I'm closing it since this PR doesn't add much value.

@hczhu-db hczhu-db closed this Apr 8, 2024
@jnyi jnyi deleted the endpoint-logs branch November 1, 2024 23:13
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