Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post metrics twice when tranfer data to server #3

Open
erjinzhi2333 opened this issue Sep 5, 2018 · 0 comments
Open

Post metrics twice when tranfer data to server #3

erjinzhi2333 opened this issue Sep 5, 2018 · 0 comments

Comments

@erjinzhi2333
Copy link

Here is my cfg.json
{ "debug": false, "attachtags": "", "http": { "enable": false, "listen": "0.0.0.0:1987" }, "transfer": { "enable": true, "addr": "http://127.0.0.1:8433", "interval": 3, "timeout": 1000 } }
127.0.0.1:8433 is a server that handle lvs-metrics data
I will get two request every tranfer,one is the collect data and another get 0 for all metrics.
Like this:
[{"endpoint":"localhost.localdomain","metric":"lvs.vip.inpkts","value":338884,"step":3,"counterType":"COUNTER","tags":"vip=192.168.65.11,port=80","timestamp":1536128359}]

[{"endpoint":"localhost.localdomain","metric":"lvs.in.packets","value":0,"step":3,"counterType":"GAUGE","tags":"","timestamp":1536128359}]

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

No branches or pull requests

1 participant