Skip to content

Config docs #37

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

Merged
merged 4 commits into from
Feb 22, 2022
Merged

Config docs #37

merged 4 commits into from
Feb 22, 2022

Conversation

levkk
Copy link
Contributor

@levkk levkk commented Feb 22, 2022

No description provided.

@levkk levkk merged commit 3f16123 into main Feb 22, 2022
@levkk levkk deleted the config-docs branch February 24, 2022 18:40
jmeagher pushed a commit to jmeagher/pgcat that referenced this pull request Feb 17, 2023
…ostgresml#37)

We have noticed that when vault reloads the bundle, we have a small window of time where /conf/ mount is empty.
Scripts that try to fetch data from there will fail.
We suspect this is responsible, in part, for health check failures

A fix for this is to read configs directly from pgcat.toml which should never be empty or have invalid data.
For env vars, we read /conf/service_configurations.json

I tested this in dev and the health checks and metrics are both working correctly.
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.

1 participant