dalmatinerdb / ddb_proxy

Proxy for other metric protocols
MIT License
9 stars 5 forks source link

impreove configuration of listenres #7

Open Licenser opened 8 years ago

Licenser commented 8 years ago

Currently the listeners only allow 1 listener per decode, a better way to handle it would be:

listensers.my-name.type = influx
listensers.my-name.port = 8888
listensers.my-name.bucket = "bucket"

and build the struct based on that.

Licenser commented 8 years ago

perhaps .protocl instead of .type

the current protocol can be inferred from the type, as it doesn't make sense to have a influx udp listener or a syslog http listener.

Licenser commented 8 years ago

cc @davecromberge

davecromberge commented 8 years ago

Those look like some sensible improvements 👍