@@ -106,6 +106,9 @@ ADD EVENT sqlserver.module_end( -- capture stored procedure completions
106106 )
107107)
108108ADD TARGET package0 .ring_buffer -- do not change, datadog is only configured to read from ring buffer at this time
109+ (
110+ SET MAX_MEMORY = 1024
111+ )
109112WITH (
110113 MAX_MEMORY = 1024 KB, -- do not exceed 1024, values above 1 MB may result in data loss due to SQLServer internals
111114 TRACK_CAUSALITY = ON , -- allows datadog to correlate related events across activity ID
@@ -153,6 +156,9 @@ ADD EVENT sqlserver.attention(
153156 )
154157)
155158ADD TARGET package0 .ring_buffer -- do not change, datadog is only configured to read from ring buffer at this time
159+ (
160+ SET MAX_MEMORY = 1024
161+ )
156162WITH (
157163 MAX_MEMORY = 1024 KB, -- do not change, setting this larger than 1 MB may result in data loss due to SQLServer internals
158164 EVENT_RETENTION_MODE = ALLOW_SINGLE_EVENT_LOSS,
@@ -252,6 +258,9 @@ ADD EVENT sqlserver.module_end( -- capture stored procedure completions
252258 )
253259)
254260ADD TARGET package0.ring_buffer -- do not change, datadog is only configured to read from ring buffer at this time
261+ (
262+ SET MAX_MEMORY = 1024
263+ )
255264WITH (
256265 MAX_MEMORY = 1024 KB, -- do not exceed 1024, values above 1 MB may result in data loss due to SQLServer internals
257266 TRACK_CAUSALITY = ON, -- allows datadog to correlate related events across activity ID
@@ -299,6 +308,9 @@ ADD EVENT sqlserver.attention(
299308 )
300309)
301310ADD TARGET package0.ring_buffer -- do not change, datadog is only configured to read from ring buffer at this time
311+ (
312+ SET MAX_MEMORY = 1024
313+ )
302314WITH (
303315 MAX_MEMORY = 1024 KB, -- do not change, setting this larger than 1 MB may result in data loss due to SQLServer internals
304316 EVENT_RETENTION_MODE = ALLOW_SINGLE_EVENT_LOSS,
0 commit comments