Skip to content

Commit

Permalink
Merge pull request #21 from dav3860/add_instance_value
Browse files Browse the repository at this point in the history
Add instance value in *.counter.get replies
  • Loading branch information
dnaeon committed Feb 25, 2014
2 parents 378e79d + 4595235 commit ad2d89a
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 ad2d89a

Please sign in to comment.