diff --git a/EventHubs/target/logs_build/host.json b/EventHubs/target/logs_build/host.json index 81bb3e42..efe45491 100644 --- a/EventHubs/target/logs_build/host.json +++ b/EventHubs/target/logs_build/host.json @@ -1,11 +1,30 @@ { - "eventHub": { - "maxBatchSize": 400, - "prefetchCount": 800, - "batchCheckpointFrequency": 1 + "version": "2.0", + "extensionBundle": { + "id": "Microsoft.Azure.Functions.ExtensionBundle", + "version": "[4.0.0, 5.0.0)" + }, + "eventHubs": { + "maxEventBatchSize": 400, + "maxWaitTime": "00:05:00", + "batchCheckpointFrequency": 1, + "prefetchCount": 800 + }, + "logging": { + "applicationInsights": { + "samplingSettings": { + "isEnabled": false + } + }, + "logLevel": { + "default": "Warning", + "Host.Aggregator": "Trace", + "Host.Results": "Information", + "Function": "Information" + } }, "functions": [ "EventHubs_Logs" ], "functionTimeout": "00:10:00" -} +} \ No newline at end of file diff --git a/EventHubs/target/metrics_build/host.json b/EventHubs/target/metrics_build/host.json index 733f211e..e13be81d 100644 --- a/EventHubs/target/metrics_build/host.json +++ b/EventHubs/target/metrics_build/host.json @@ -1,30 +1,30 @@ { "version": "2.0", "extensionBundle": { - "id": "Microsoft.Azure.Functions.ExtensionBundle", - "version": "[4.0.0, 5.0.0)" + "id": "Microsoft.Azure.Functions.ExtensionBundle", + "version": "[4.0.0, 5.0.0)" }, "eventHubs": { - "maxEventBatchSize" : 400, - "maxWaitTime" : "00:05:00", - "batchCheckpointFrequency" : 1, - "prefetchCount" : 800 + "maxEventBatchSize": 400, + "maxWaitTime": "00:05:00", + "batchCheckpointFrequency": 1, + "prefetchCount": 800 }, "logging": { "applicationInsights": { - "samplingSettings": { - "isEnabled": false - } - }, - "logLevel": { - "default": "Warning", - "Host.Aggregator": "Trace", - "Host.Results": "Information", - "Function": "Information" + "samplingSettings": { + "isEnabled": false } + }, + "logLevel": { + "default": "Warning", + "Host.Aggregator": "Trace", + "Host.Results": "Information", + "Function": "Information" + } }, "functions": [ "EventHubs_Metrics" ], "functionTimeout": "00:10:00" -} +} \ No newline at end of file