Skip to content

Commit

Permalink
Add instance value in *.counter.get replies
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and root committed Feb 25, 2014
1 parent 378e79d commit 4595235
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/vpoller/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ def get_host_counter(self, msg):
{ 'name': eachCounter.group + '.' + eachCounter.counter,
'counter': eachCounter.counter,
'group': eachCounter.group,
'instance': eachCounter.instance,
'description': eachCounter.description,
'unit': eachCounter.unit,
'group_description': eachCounter.group_description,
Expand Down Expand Up @@ -499,6 +500,7 @@ def get_vm_counter(self, msg):
{ 'name': eachCounter.group + '.' + eachCounter.counter,
'counter': eachCounter.counter,
'group': eachCounter.group,
'instance': eachCounter.instance,
'description': eachCounter.description,
'unit': eachCounter.unit,
'group_description': eachCounter.group_description,
Expand Down

0 comments on commit 4595235

Please sign in to comment.