Skip to content

Commit

Permalink
Increase the max number of extension events by 20%
Browse files Browse the repository at this point in the history
  • Loading branch information
narrieta committed Mar 10, 2023
1 parent 5e53887 commit aab5732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azurelinuxagent/ga/collect_telemetry_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class _ProcessExtensionEvents(PeriodicOperation):
_EXTENSION_EVENT_FILE_NAME_REGEX = re.compile(r"^(\d+)\.json$", re.IGNORECASE)

# Limits
_MAX_NUMBER_OF_EVENTS_PER_EXTENSION_PER_PERIOD = 300
_MAX_NUMBER_OF_EVENTS_PER_EXTENSION_PER_PERIOD = 360
_EXTENSION_EVENT_FILE_MAX_SIZE = 4 * 1024 * 1024 # 4 MB = 4 * 1,048,576 Bytes
_EXTENSION_EVENT_MAX_SIZE = 1024 * 6 # 6Kb or 6144 characters. Limit for the whole event. Prevent oversized events.
_EXTENSION_EVENT_MAX_MSG_LEN = 1024 * 3 # 3Kb or 3072 chars.
Expand Down

0 comments on commit aab5732

Please sign in to comment.