You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[r352] Revert otlp: Stick to OTLP vocabulary on invalid label value length error (#12262)
Commit:
9bf900e
<!-- Thanks for sending a pull request! Before submitting:
1. Read our CONTRIBUTING.md guide
2. Rebase your PR if it gets out of sync with main
-->
#### What this PR does
#### Which issue(s) this PR fixes or relates to
Fixes #<issue number>
#### Checklist
- [ ] Tests updated.
- [ ] Documentation added.
- [ ] `CHANGELOG.md` updated - the order of entries should be
`[CHANGE]`, `[FEATURE]`, `[ENHANCEMENT]`, `[BUGFIX]`. If changelog entry
is not needed, please add the `changelog-not-needed` label to the PR.
- [ ]
[`about-versioning.md`](https://github.com/grafana/mimir/blob/main/docs/sources/mimir/configure/about-versioning.md)
updated with experimental features.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,9 +59,9 @@
59
59
* Renamed `cortex_ingest_storage_writer_produce_requests_total` to `cortex_ingest_storage_writer_produce_records_enqueued_total`
60
60
* Renamed `cortex_ingest_storage_writer_produce_failures_total` to `cortex_ingest_storage_writer_produce_records_failed_total`
61
61
*[CHANGE] Distributor: moved HA tracker timeout config to limits. #11774
62
-
* Moved `distributor.ha_tracker.ha_tracker_update_timeout` to `limits.ha_tracker_update_timeout`.
63
-
* Moved `distributor.ha_tracker.ha_tracker_update_timeout_jitter_max` to `limits.ha_tracker_update_timeout_jitter_max`.
64
-
* Moved `distributor.ha_tracker.ha_tracker_failover_timeout` to `limits.ha_tracker_failover_timeout`.
62
+
* Moved `distributor.ha_tracker.ha_tracker_update_timeout` to `limits.ha_tracker.ha_tracker_update_timeout`
63
+
* Moved `distributor.ha_tracker.ha_tracker_update_timeout_jitter_max` to `limits.ha_tracker.ha_tracker_update_timeout_jitter_max`
64
+
* Moved `distributor.ha_tracker.ha_tracker_failover_timeout` to `limits.ha_tracker.ha_tracker_failover_timeout`
65
65
*[CHANGE] Distributor: `Memberlist` marked as stable as an option for backend storage for the HA tracker. #11861
66
66
*[CHANGE] Distributor: `etcd` deprecated as an option for backend storage for the HA tracker. #12047
67
67
*[CHANGE] Memberlist: Apply new default configuration values for MemberlistKV. This unlocks using it as backend storage for the HA Tracker. We have observed better performance with these defaults across different production loads. #11874
@@ -146,7 +146,6 @@
146
146
*[ENHANCEMENT] Query-frontend: Accurate tracking of samples processed from cache. #11719
147
147
*[ENHANCEMENT] Store-gateway: Change level 0 blocks to be reported as 'unknown/old_block' in metrics instead of '0' to improve clarity. Level 0 indicates blocks with metadata from before compaction level tracking was added to the bucket index. #11891
148
148
*[ENHANCEMENT] Compactor, distributor, ruler, scheduler and store-gateway: Makes `-<component-ring-config>.auto-forget-unhealthy-periods` configurable for each component. Deprecates the `-store-gateway.sharding-ring.auto-forget-enabled` flag. #11923
149
-
*[ENHANCEMENT] otlp: Stick to OTLP vocabulary on invalid label value length error. #11889
150
149
*[BUGFIX] OTLP: Fix response body and Content-Type header to align with spec. #10852
151
150
*[BUGFIX] Compactor: fix issue where block becomes permanently stuck when the Compactor's block cleanup job partially deletes a block. #10888
152
151
*[BUGFIX] Storage: fix intermittent failures in S3 upload retries. #10952
errMessage: "received a metric whose attribute value length exceeds the limit of 9, attribute: 'too_long', value: 'huge value' (truncated) metric: 'foo{too_long=\"huge value\"}'. See: https://grafana.com/docs/grafana-cloud/send-data/otlp/otlp-format-considerations/#metrics-ingestion-limits",
1200
-
expectedLogs: []string{`level=warn user=test msg="detected an error while ingesting OTLP metrics request (the request may have been partially ingested)" httpCode=400 err="received a metric whose attribute value length exceeds the limit of 9, attribute: 'too_long', value: 'huge value' (truncated) metric: 'foo{too_long=\"huge value\"}'. See: https://grafana.com/docs/grafana-cloud/send-data/otlp/otlp-format-considerations/#metrics-ingestion-limits" insight=true`},
returngrpcstatus.New(codes.Unknown, "unexpected error calling some dependency").Err()
1210
-
},
1211
-
responseCode: http.StatusServiceUnavailable,
1212
-
responseContentType: pbContentType,
1213
-
responseContentLength: 44,
1214
-
errMessage: "unexpected error calling some dependency",
1215
-
expectedLogs: []string{`level=error user=test msg="detected an error while ingesting OTLP metrics request (the request may have been partially ingested)" httpCode=503 err="rpc error: code = Unknown desc = unexpected error calling some dependency"`},
Copy file name to clipboardExpand all lines: pkg/distributor/validate.go
+1-12Lines changed: 1 addition & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,6 @@ package distributor
8
8
import (
9
9
"errors"
10
10
"fmt"
11
-
"slices"
12
11
"strings"
13
12
"time"
14
13
"unicode"
@@ -123,16 +122,6 @@ var (
123
122
nativeHistogramCustomBucketsNotReducibleMsgFormat=globalerror.NativeHistogramCustomBucketsNotReducible.Message("received a native histogram sample with more custom buckets than the limit, timestamp: %d series: %s, buckets: %d, limit: %d")
0 commit comments