Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
TimPansino committed Oct 24, 2024
1 parent d632f19 commit a460cda
Showing 1 changed file with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,21 +46,6 @@ def _validate_log_event_collector_json(wrapped, instance, args, kwargs):
for event in log_events:

# event is an array containing timestamp, level, message, attributes

{
"timestamp": 1729186430797,
"level": "INFO",
"message": "Starting response",
"attributes": {
"entity.type": "SERVICE",
"entity.name": "Python Agent Test (agent_features)",
"entity.guid": "DEVELOPERMODEENTITYGUID",
"hostname": "T23WHWQH20",
"span.id": "51628b750f177405",
"trace.id": "a3b0eb0bd17c433ac461aec42a316069",
},
}

assert len(event) == 4
assert isinstance(event["timestamp"], int)
assert isinstance(event["level"], str)
Expand Down

0 comments on commit a460cda

Please sign in to comment.