Skip to content

Commit e9da448

Browse files
Added timestamp when running with -m flag (#228)
1 parent 5c7208c commit e9da448

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

unix/src/machine_stats/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ def v2_playbook_on_stats(self, stats):
322322
server_dict["measurable_type"] = "server"
323323
server_dict["field_name"] = custom_field + "_timeseries"
324324
server_dict["value"] = server["custom_fields"][custom_field]
325+
server_dict["external_timestamp"] = server["custom_fields"]["cpu_utilization_timestamp"]
325326
server_dict["measurable"] = {
326327
"host_name": server["host_name"]
327328
}

0 commit comments

Comments
 (0)