We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5820650 commit a8c59b2Copy full SHA for a8c59b2
GetRecipes/index.js
@@ -1,4 +1,9 @@
1
const recipes = require('../shared/recipe.service');
2
+const appInsights = require('applicationinsights');
3
+appInsights.setup();
4
+const context = appInsights.defaultClient.context;
5
+context.tags[context.keys.cloudRole] = 'backend';
6
+appInsights.start();
7
module.exports = async function(context, req) {
8
context.log('JavaScript HTTP trigger function processed a request.');
9
const SIZE = 10;
0 commit comments