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 metric label for scache load #3516

Merged
merged 1 commit into from
May 14, 2024

Conversation

steve-chavez
Copy link
Member

localhost:3001/metrics now includes:

pgrst_schema_cache_loads_total{status="FAIL"} 352.0 
pgrst_schema_cache_loads_total{status="SUCCESS"} 3.0

This allows testing the failure case on #3424 (comment)

localhost:3001/metrics now includes:

pgrst_schema_cache_loads_total{status="FAIL"} 352.0
pgrst_schema_cache_loads_total{status="SUCCESS"} 3.0

This allows testing the failure case on:

PostgREST#3424 (comment)
@steve-chavez steve-chavez merged commit d25df45 into PostgREST:main May 14, 2024
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant