Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add StorePerformanceLabelAsField and StoreCommandAsField options #42

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

u238
Copy link

@u238 u238 commented Oct 18, 2018

Hi,

On big monitoring environments with tons of checks with variable performanceLabel (like disk label on disk checks or interface labels on network interface checks, etc.) the cardinality of the performanceLabel tag explodes.
This causes each write to become slower and slower and memory allocation increases.

Storing the performanceLabel as Field instead of a Tag in InfluxDB has proven to decrease load a lot in such situations.

This pull requests adds two options for storing the performanceLabel as a Field:

[InfluxDBGlobal]
    [...]
    # on big installations with lot of checks that have device dependend performance labels
    # e.g. check_interface_table, the series cardinality in influxdb can explode and therefore
    # cause write timeouts.
    # In such cases, setting PerformanceLabel as Field value will significantly reduce the series
    # cardinality.
    StorePerformanceLabelAsField = false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants