You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constDD_PARSE_DEFENDER_LOGS=process.env.DD_PARSE_DEFENDER_LOGS;// Boolean whether to enable special parsing of Defender for Cloud logs. Set to 'false' to disable
31
31
32
+
constEVENTHUB_NAME=process.env.EVENTHUB_NAME||'datadog-eventhub';// The event hub name inside your eventhub namespace
33
+
32
34
constMAX_RETRIES=4;// max number of times to retry a single http request
33
35
constRETRY_INTERVAL=250;// amount of time (milliseconds) to wait before retrying request, doubles after every retry
34
36
@@ -651,11 +653,12 @@ class EventhubLogHandler {
651
653
}
652
654
}
653
655
654
-
app.eventHub('datadog-function',{
656
+
// using a function-name with dashes can cause deployment errors on function update
0 commit comments