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

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

Merged
Dieterbe merged 1 commit intografana:masterfrom
D3luxee:patch-1
Sep 19, 2019
Merged

Don't validate MaxChunkSpan if BigTable store is disabled#1470
Dieterbe merged 1 commit intografana:masterfrom
D3luxee:patch-1

Conversation

@D3luxee
Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants