grafana / carbon-relay-ng

Fast carbon relay+aggregator with admin interfaces for making changes online - production ready
Other
468 stars 151 forks source link

Understanding routes #550

Open switchtower opened 3 months ago

switchtower commented 3 months ago

In my config, i have the following, among other routes:

[[route]]
key = 'servers'
type = 'sendAllMatch'
prefix = 'servers.'
destinations = [
  'server1:2104 spool=true pickle=true',
  'server2:2104 spool=true pickle=true'
]

[[route]]
key = 'carbon-default'
type = 'sendAllMatch'
destinations = [
  'server3:2004 spool=true pickle=true',
  'server4:2004 spool=true pickle=true'
]

I'm expecting anything coming in that starts with 'servers.' will be sent to both server1 and server2, but it appears it's being sent to servers 3 and 4.

Perhaps I'm misunderstanding the routes and sendAllMatch vs sendFirstMatch route type?

Any help would be greatly appreciated.

switchtower commented 3 months ago

looking at other issues and tickets, this repo appears to not have anyone monitoring it.

Just FYI for others that might be trying to use this software