Skip to content

Commit

Permalink
Merge pull request #32 from signalfx/fixSWAT-1352
Browse files Browse the repository at this point in the history
Fix PR# 31
  • Loading branch information
dloucasfx authored Apr 8, 2020
2 parents bb647bb + fb2b048 commit 2fc0844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mongodb.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def do_server_status(self):
if 'mem' in server_status:
for t in ['resident', 'virtual', 'mapped']:
mem_metric = server_status['mem'].get(t)
if mem_metric:
if mem_metric is not None:
self.submit('gauge', 'mem.' + t, mem_metric)

# network
Expand Down

0 comments on commit 2fc0844

Please sign in to comment.