Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

use the "instance" name specfied in the config for metric names #361

Closed
woodsaj opened this issue Nov 1, 2016 · 1 comment
Closed

use the "instance" name specfied in the config for metric names #361

woodsaj opened this issue Nov 1, 2016 · 1 comment

Comments

@woodsaj
Copy link
Member

woodsaj commented Nov 1, 2016

when creatin the stats backend, hostname is used instead.

https://github.com/raintank/metrictank/blob/master/metrictank.go#L237

this will cause problem when running in containers as the hostname can change often.

@Dieterbe
Copy link
Contributor

Dieterbe commented Nov 3, 2016

also it causes problems because we can run multiple instances on the same host, and we don't want them to override each other's stats.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants