-
Notifications
You must be signed in to change notification settings - Fork 1.3k
fix: updates for tsdb blocks handling #1928
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
Open
tjhop
wants to merge
4
commits into
prometheus:main
Choose a base branch
from
tjhop:fix/tsdb-blocks-updates
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
ba69abb
fix(api): correct TSDB blocks result shape, align types with upstream
tjhop d2b81b1
test(api): expand test coverage for tsdb blocks endpoint
tjhop be62d9b
test(api): add reflection-based TSDB block type parity test
tjhop fb370b9
Update CHANGELOG.md
bwplotka File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,95 @@ | ||
| module github.com/prometheus/client_golang/api/prometheus/v1/paritytest | ||
|
|
||
| go 1.25.0 | ||
|
|
||
| replace github.com/prometheus/client_golang => ../../../.. | ||
|
|
||
| require ( | ||
| github.com/oklog/ulid/v2 v2.1.2 | ||
| github.com/prometheus/client_golang v1.23.2 | ||
| github.com/prometheus/prometheus v0.313.2 | ||
| github.com/stretchr/testify v1.11.1 | ||
| ) | ||
|
|
||
| require ( | ||
| cloud.google.com/go/auth v0.20.0 // indirect | ||
| cloud.google.com/go/auth/oauth2adapt v0.2.8 // indirect | ||
| cloud.google.com/go/compute/metadata v0.9.0 // indirect | ||
| github.com/Azure/azure-sdk-for-go/sdk/azcore v1.22.0 // indirect | ||
| github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.14.0 // indirect | ||
| github.com/Azure/azure-sdk-for-go/sdk/internal v1.12.0 // indirect | ||
| github.com/AzureAD/microsoft-authentication-library-for-go v1.7.2 // indirect | ||
| github.com/alecthomas/units v0.0.0-20240927000941-0f3dac36c52b // indirect | ||
| github.com/aws/aws-sdk-go-v2 v1.42.0 // indirect | ||
| github.com/aws/aws-sdk-go-v2/config v1.32.25 // indirect | ||
| github.com/aws/aws-sdk-go-v2/credentials v1.19.24 // indirect | ||
| github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.29 // indirect | ||
| github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.29 // indirect | ||
| github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.29 // indirect | ||
| github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.30 // indirect | ||
| github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.12 // indirect | ||
| github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.29 // indirect | ||
| github.com/aws/aws-sdk-go-v2/service/signin v1.2.0 // indirect | ||
| github.com/aws/aws-sdk-go-v2/service/sso v1.31.3 // indirect | ||
| github.com/aws/aws-sdk-go-v2/service/ssooidc v1.36.6 // indirect | ||
| github.com/aws/aws-sdk-go-v2/service/sts v1.43.3 // indirect | ||
| github.com/aws/smithy-go v1.27.2 // indirect | ||
| github.com/bboreham/go-loser v0.0.0-20230920113527-fcc2c21820a3 // indirect | ||
| github.com/beorn7/perks v1.0.1 // indirect | ||
| github.com/cenkalti/backoff/v5 v5.0.3 // indirect | ||
| github.com/cespare/xxhash/v2 v2.3.0 // indirect | ||
| github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect | ||
| github.com/dennwc/varint v1.0.0 // indirect | ||
| github.com/felixge/httpsnoop v1.0.4 // indirect | ||
| github.com/go-logr/logr v1.4.3 // indirect | ||
| github.com/go-logr/stdr v1.2.2 // indirect | ||
| github.com/golang-jwt/jwt/v5 v5.3.1 // indirect | ||
| github.com/golang/snappy v1.0.0 // indirect | ||
| github.com/google/go-cmp v0.7.0 // indirect | ||
| github.com/google/s2a-go v0.1.9 // indirect | ||
| github.com/google/uuid v1.6.0 // indirect | ||
| github.com/googleapis/enterprise-certificate-proxy v0.3.15 // indirect | ||
| github.com/googleapis/gax-go/v2 v2.22.0 // indirect | ||
| github.com/grafana/regexp v0.0.0-20250905093917-f7b3be9d1853 // indirect | ||
| github.com/jpillora/backoff v1.0.0 // indirect | ||
| github.com/json-iterator/go v1.1.12 // indirect | ||
| github.com/klauspost/compress v1.19.1 // indirect | ||
| github.com/kylelemons/godebug v1.1.0 // indirect | ||
| github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect | ||
| github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect | ||
| github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect | ||
| github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f // indirect | ||
| github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect | ||
| github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect | ||
| github.com/prometheus/client_golang/exp v0.0.0-20260602051030-3537b20ac86b // indirect | ||
| github.com/prometheus/client_model v0.6.2 // indirect | ||
| github.com/prometheus/common v0.70.1 // indirect | ||
| github.com/prometheus/otlptranslator v1.0.0 // indirect | ||
| github.com/prometheus/procfs v0.21.1 // indirect | ||
| github.com/prometheus/sigv4 v0.4.1 // indirect | ||
| go.opentelemetry.io/auto/sdk v1.2.1 // indirect | ||
| go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.69.0 // indirect | ||
| go.opentelemetry.io/otel v1.44.0 // indirect | ||
| go.opentelemetry.io/otel/metric v1.44.0 // indirect | ||
| go.opentelemetry.io/otel/trace v1.44.0 // indirect | ||
| go.uber.org/atomic v1.11.0 // indirect | ||
| go.uber.org/goleak v1.3.0 // indirect | ||
| go.yaml.in/yaml/v2 v2.4.4 // indirect | ||
| golang.org/x/crypto v0.54.0 // indirect | ||
| golang.org/x/exp v0.0.0-20260218203240-3dfff04db8fa // indirect | ||
| golang.org/x/net v0.57.0 // indirect | ||
| golang.org/x/oauth2 v0.36.0 // indirect | ||
| golang.org/x/sync v0.22.0 // indirect | ||
| golang.org/x/sys v0.47.0 // indirect | ||
| golang.org/x/text v0.40.0 // indirect | ||
| golang.org/x/time v0.15.0 // indirect | ||
| google.golang.org/api v0.278.0 // indirect | ||
| google.golang.org/genproto/googleapis/rpc v0.0.0-20260610212136-7ab31c22f7ad // indirect | ||
| google.golang.org/grpc v1.82.1 // indirect | ||
| google.golang.org/protobuf v1.36.11 // indirect | ||
| gopkg.in/yaml.v3 v3.0.1 // indirect | ||
| k8s.io/apimachinery v0.35.3 // indirect | ||
| k8s.io/client-go v0.35.3 // indirect | ||
| k8s.io/klog/v2 v2.140.0 // indirect | ||
| k8s.io/utils v0.0.0-20251002143259-bc988d571ff4 // indirect | ||
| ) |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.