Skip to content

Commit

Permalink
Update src/duct.py
Browse files Browse the repository at this point in the history
Co-authored-by: Yaroslav Halchenko <[email protected]>
  • Loading branch information
asmacdo and yarikoptic authored May 30, 2024
1 parent 096fd8a commit 05b6720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/duct.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def collect_sample(self):
"rss": int(rss),
# Virtual Memory size
"vsz": int(vsz),
"timestamp": datetime.utcnow().isoformat() + "Z",
"timestamp": datetime.now().astimezone().isoformat(),
}
except subprocess.CalledProcessError:
process_data["error"] = "Failed to query process data"
Expand Down

0 comments on commit 05b6720

Please sign in to comment.