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

Nil check overrides module in /status endpoint #994

Merged
merged 1 commit into from
Oct 4, 2021

Conversation

mapno
Copy link
Member

@mapno mapno commented Sep 29, 2021

What this PR does:

Nil check overrides module in /status endpoint

Querier and query-frontend do not run the overrides module. The status handler now checks in that module is being run and skips it in case it isn't.

It also modifies the distributed docker-compose to run minio with minio command, instead of executing the binary.

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@mapno mapno force-pushed the overrides-module-dep-querier-fronted branch from 810eb23 to de6d0a0 Compare September 29, 2021 11:12
Copy link
Member

@joe-elliott joe-elliott left a comment

Choose a reason for hiding this comment

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

We should just check for nil and print a message like "overrides not loaded". There's no reason to scan for overrides in these services.

@annanay25 annanay25 assigned annanay25 and unassigned annanay25 Oct 1, 2021
Querier and query-frontend do not run the overrides module.
The status handler now checks in that module is being run
and skips it in case it isn't.
@mapno mapno force-pushed the overrides-module-dep-querier-fronted branch from de6d0a0 to 10fac86 Compare October 4, 2021 11:50
@mapno mapno changed the title Add overrides module as dependency of querier and query-frontend Nil check overrides module in /status endpoint Oct 4, 2021
@mapno mapno merged commit 4d3af57 into grafana:main Oct 4, 2021
@mapno mapno deleted the overrides-module-dep-querier-fronted branch October 4, 2021 13:15
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.

3 participants