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
Originally posted by Raghav65 November 27, 2023
I'm using grafana/pyroscope version v1.2.0
I have configured compactor block_ranges as default and I'm getting below error message as by default block_ranges: | = 1h0m0s,2h0m0s,8h0m0s.
failed creating pyroscope: compactor block range periods should be divisible by the max block duration, but 1h0m0s is not divisible by 3h0m0s
When I try to add below compactor config in compactor block in config.yaml I'm getting - " failed parsing config: /etc/pyroscope/config.yaml: yaml: unmarshal errors: line x: cannot unmarshal !!str 3h0m0s into compactor.DurationList"
-compactor.block-ranges value
List of compaction time ranges. (default 3h0m0s,6h0m0s,12h0m0s)
compactor:
block_ranges: 3h0m0s
max_block_duration is set to 3h0m0s
The text was updated successfully, but these errors were encountered:
So you do need your compactor to use 3h block ranges since that's your current max block duration. If you running a large cluster I suggest you switch to our default 1h.
Now for your error:
compactor:
block_ranges: [3h0m0s]
Add [] like if it was an array. Sorry for the confusion.
Discussed in #2764
Originally posted by Raghav65 November 27, 2023
I'm using grafana/pyroscope version v1.2.0
I have configured compactor block_ranges as default and I'm getting below error message as by default block_ranges: | = 1h0m0s,2h0m0s,8h0m0s.
failed creating pyroscope: compactor block range periods should be divisible by the max block duration, but 1h0m0s is not divisible by 3h0m0s
When I try to add below compactor config in compactor block in config.yaml I'm getting - " failed parsing config: /etc/pyroscope/config.yaml: yaml: unmarshal errors: line x: cannot unmarshal !!str
3h0m0s
into compactor.DurationList"-compactor.block-ranges value
List of compaction time ranges. (default 3h0m0s,6h0m0s,12h0m0s)
max_block_duration is set to 3h0m0s
The text was updated successfully, but these errors were encountered: