bioyino icon indicating copy to clipboard operation
bioyino copied to clipboard

Add the ability to add a prefix

Open ihard opened this issue 6 years ago • 5 comments

Select a list of metrics for example by the regular expression

ihard avatar Jul 14 '18 14:07 ihard

Could you please explain, what do you mean here? I'm not sure I understand.

Albibek avatar Jul 14 '18 21:07 Albibek

The ability to add a prefix to the metrics that are sent to the carbon, example statsd: host.app.count

prefix: dc1

to carbon: dc1.host.app.count

ihard avatar Jul 15 '18 13:07 ihard

Such option already exists: https://github.com/avito-tech/bioyino/blob/master/config.toml#L19

Albibek avatar Jul 15 '18 15:07 Albibek

By description, this setting only affects the sending of internal statistics

ihard avatar Jul 15 '18 20:07 ihard

What you are asking here can be done by using https://github.com/grobian/carbon-c-relay. As of now we also use it for routing metrics between carbon backends and also for some regexp-based filtering/renaming. Please, do not count this message as a refusal to implement the requested feature in bioyino, but only as an advice to work problem around fast.

Albibek avatar Jul 16 '18 19:07 Albibek