Skip to content

Commit

Permalink
log events
Browse files Browse the repository at this point in the history
  • Loading branch information
steveny91 committed Nov 16, 2023
1 parent bff422a commit ce8b57f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions silk/datadog_checks/silk/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ def collect_events(self, system_tags):
# Use `self.latest_event_query` as starting time and `collect_events_timestamp` as ending time
event_query = EVENT_PATH.format(int(self.latest_event_query), int(collect_events_timestamp))
raw_events, _ = self._get_data(event_query)

self.debug.log("Received %s events.", len(raw_events))
self.debug.log("Events: %s", raw_events)

for event in raw_events:
try:
Expand Down

0 comments on commit ce8b57f

Please sign in to comment.