Skip to content

Commit

Permalink
Merge pull request #1078 from zenoss/feature/ZEN-19746
Browse files Browse the repository at this point in the history
ZEN-19746 Ensure unique series names on multiple context graphs
  • Loading branch information
jpeacock-zenoss committed Sep 22, 2015
2 parents 407a8c7 + 92f18af commit 037af71
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Products/Zuul/infos/metricserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ def id(self):

@property
def name(self):
if self._multiContext:
return "%s %s" % (self._context.id, self._object.id)
# RPN expressions use the DataPointGraphPoint id to reference other datapoints for the graph, central query
# uses the "name" property to resolve references in RPN expression.
return self._object.id
Expand Down

0 comments on commit 037af71

Please sign in to comment.