Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Don't validate MaxChunkSpan if BigTable store is disabled #1470

Merged
merged 1 commit into from
Sep 19, 2019

Conversation

D3luxee
Copy link
Contributor

@D3luxee D3luxee commented Sep 19, 2019

Hi,
i'm using metrictank with cassandra as storage, but metrictank refues to start because of the bigtable store setting "max-chunkspan" being set to low.

2019/09/19 13:06:16 bigtable-store: Config validation error. max-chunkspan must be at least as high as the max chunkspan used in your storage-schemas (which is 86400)

This means i have to adjust settings for a storage i'm not using.

I would suggest to skip the validation of max-chunkspan if the bigtable store is not enabled.

Hi,
i'm using metrictank with cassandra as storage, but metrictank refues to start because of the default "max-chunkspan" is set too low.
This means i have to adjust settings for a storage i'm not using.

I would suggest to skip the validation of max-chunkspan if the bigtable store is not enabled.
Copy link
Contributor

@Dieterbe Dieterbe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. thanks for taking the time to contribute back.

@Dieterbe Dieterbe merged commit 3006629 into grafana:master Sep 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants