Open vide opened 5 years ago
You can simply remove the priority
field from your config and the behavior will be the same as that of the python-carbon.
Yeah, that's obvious :smile: But migrating from an already existing install of whisper-carbon to go-carbon (with priorities already set) I found this the hard way.
Hello
doing empirical tests + looking at go-carbon code looks like that you indeed follow the
priority
value in thestorage-schemas.conf
definitions.For example
will apply a retention of 1 minute for 1 day to every metric received, when the one matched by the first section should be applied first. According to https://github.com/graphite-project/carbon/issues/12 they should matched in order. The official documentation states the same: section order is the only source of truth for ordering. I understand that in some past carbon versions there was that
priority
field (and actually I like it!) but looks like that right now go-carbon is not a full drop-in replacement for whisper-carbon.