Skip to content

Commit

Permalink
Changelog
Browse files Browse the repository at this point in the history
Signed-off-by: alanprot <[email protected]>
  • Loading branch information
alanprot committed Dec 18, 2024
1 parent efb6ddc commit 5b86448
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
* [ENHANCEMENT] Ingester: Make sure unregistered ingester joining the ring after WAL replay. #6277
* [ENHANCEMENT] Distributor: Add a new `-distributor.num-push-workers` flag to use a goroutine worker pool when sending data from distributor to ingesters. #6406
* [ENHANCEMENT] Ingester: If a limit per label set entry doesn't have any label, use it as the default partition to catch all series that doesn't match any other label sets entries. #6435
* [ENHANCEMENT] Querier: Add new `cortex_querier_response_message_bytes_bucket` metric to track the size of the encoded query responses from queriers. #6444
* [BUGFIX] Runtime-config: Handle absolute file paths when working directory is not / #6224
* [BUGFIX] Ruler: Allow rule evaluation to complete during shutdown. #6326
* [BUGFIX] Ring: update ring with new ip address when instance is lost, rejoins, but heartbeat is disabled. #6271
Expand Down
4 changes: 2 additions & 2 deletions pkg/api/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ func NewQuerierHandler(
api := v1.NewAPI(
engine,
querier.NewErrorTranslateSampleAndChunkQueryable(queryable), // Translate errors to errors expected by API.
nil, // No remote write support.
nil, // No remote write support.
exemplarQueryable,
func(ctx context.Context) v1.ScrapePoolsRetriever { return nil },
func(context.Context) v1.TargetRetriever { return &querier.DummyTargetRetriever{} },
Expand Down Expand Up @@ -234,7 +234,7 @@ func NewQuerierHandler(
// Let's clear all codecs to create the instrumented ones
api.ClearCodecs()
cm := codec.NewInstrumentedCodecMetrics(reg)

api.InstallCodec(codec.NewInstrumentedCodec(v1.JSONCodec{}, cm))
// Install Protobuf codec to give the option for using either.
api.InstallCodec(codec.NewInstrumentedCodec(codec.ProtobufCodec{CortexInternal: false}, cm))
Expand Down

0 comments on commit 5b86448

Please sign in to comment.