Skip to content

how to deal with "spikey" data #60

@rreilly-edr

Description

@rreilly-edr

Hi, I have some data that is very spikey like ( I am sure there is a statistical term for this maybe not normal)
image

if I use the example on the README, i get non stop alerts. like
image

I have tweaked the two paramters for errorTolerence and Minimum support but I etiher get a lot or alertsor no alerts here is an example of my morgoth kapacitor tick.
I am collecting my metrics every 10 seconds i used a 15 min window to make sure i am getting enough data.

dbrp "statsd"."autogen"

stream
    |from()
        .measurement('load_avg_five')
        .groupBy('host')
    |window()
        .period(15m)
        .every(1m)
    @morgoth()
        .field('value')
        .anomalousField('anomalous')
        .errorTolerance(0.01)
        .minSupport(0.05)
        .sigma(3.0)
    |alert()
        .message('{{ .Level}}: {{ .Name }}/{{ index .Tags "host" }} anomalous')
        .crit(lambda: "anomalous")
        .log('/tmp/malerts.log')
        .sensu()
        .slack()

I would like to get no alerts unless i put a lot of load on the system.
Thanks !
rob

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions