Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

Commit

Permalink
feat: just as for events time for metrics is assigned on SC4SNMP (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
weliasz committed Oct 28, 2021
1 parent 461f245 commit 1874618
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions splunk_connect_for_snmp_poller/manager/hec_sender.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ def build_metric_data(
fields = {
"metric_name:" + metric_name: metric_value,
EventField.FREQUENCY.value: ir.frequency_str,
EventField.TIME.value: time.time(),
}
if mib_enricher:
_enrich_metric_data(mib_enricher, json_val, fields)
Expand Down

0 comments on commit 1874618

Please sign in to comment.