Skip to content

Conversation

@bwplotka
Copy link
Collaborator

@bwplotka bwplotka commented Aug 5, 2025

To emit NaN:

Clone this repo and:

export GCM_SECRET=<gcm secret>
go test ./google/internal/promqle2etest/... -run TestExportGCM_Staleness
go test ./google/internal/promqle2etest/... -run TestExportGCM_StalenessCounter

Or (as a maintainer) push to this branch or checkout this branch and create a similar PR with your changes.

To play with PromQL + staleness

# Configure the test as you wish
vim ./promql/promqltest/testdata/staleness.test
# Run the staleness.test (this PR hardcodes this test to run staleness.test only
go test ./promql/... -run TestEvaluations

cc @realschwa

@bwplotka bwplotka changed the title feat: Conditional GCM staleness support investigation: Conditional GCM staleness support Sep 3, 2025
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