diff --git a/CHANGELOG.md b/CHANGELOG.md index c9f26389e5..7259a77992 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/pkg/api/handlers.go b/pkg/api/handlers.go index 44a8fb41e2..d931d4a40d 100644 --- a/pkg/api/handlers.go +++ b/pkg/api/handlers.go @@ -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{} }, @@ -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))