Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workspace-based Application Insights #45

Merged
merged 3 commits into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 16
node-version: 18

- name: install AWS cli
run: |
Expand Down
33 changes: 25 additions & 8 deletions BlobViaEventGrid/ARM/BlobViaEventGrid.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,17 +139,34 @@
}
},
{
"type": "Microsoft.Insights/components",
"apiVersion": "2020-02-02",
"type": "Microsoft.OperationalInsights/workspaces",
"apiVersion": "2020-08-01",
"name": "[variables('applicationInsightsName')]",
"location": "[variables('functionAppLocation')]",
"tags": {
"[format('hidden-link:{0}', resourceId('Microsoft.Web/sites', variables('applicationInsightsName')))]": "Resource"
},
"location": "[variables('location')]",
"properties": {
"Application_Type": "web"
"sku": {
"name": "PerGB2018"
},
"retentionInDays": "90"
},
"kind": "web"
"resources": [
{
"type": "Microsoft.Insights/components",
"apiVersion": "2020-02-02",
"name": "[variables('applicationInsightsName')]",
"location": "[variables('location')]",
"properties": {
"ApplicationId": "[variables('applicationInsightsName')]",
"Application_Type": "web",
"Flow_Type": "Bluefield",
"Request_Source": "rest",
"WorkspaceResourceId": "[resourceId(resourceGroup().name, 'Microsoft.OperationalInsights/workspaces', variables('applicationInsightsName'))]"
},
"dependsOn": [
"[resourceId(resourceGroup().name, 'Microsoft.OperationalInsights/workspaces', variables('applicationInsightsName'))]"
]
}
]
},
{
"type": "Microsoft.Web/sites",
Expand Down
5 changes: 4 additions & 1 deletion BlobViaEventGrid/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@
## BlobViaEventGrid
<!-- To add a new entry write: -->
<!-- ### version / full date -->
<!-- * [Update/Bug fix] message that describes the changes that you apply -->
<!-- * [Update/Bug fix] message that describes the changes that you apply -->

### 2.0.0 / 21 Feb 2023
[Update/Breaking] Replacing "Classic" Application Insights with Workspace-Based Application Insights.
6 changes: 3 additions & 3 deletions BlobViaEventGrid/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "coralogix-azure-serverless",
"title": "Azure Functions for integration with Coralogix",
"version": "1.0.1",
"version": "2.0.0",
"description": "Azure Functions Set for integration with Coralogix",
"homepage": "https://coralogix.com",
"license": "Apache-2.0",
Expand Down Expand Up @@ -57,8 +57,8 @@
"url": "https://github.com/coralogix/coralogix-azure-serverless/issues"
},
"devDependencies": {
"@azure/functions": ">=3.5.0",
"@types/node": "^18.15.3",
"@azure/functions": "^3.5.1",
"@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": ">=5.48.2",
"@typescript-eslint/parser": ">=5.48.2",
"eslint": ">=8.32.0",
Expand Down
31 changes: 24 additions & 7 deletions DiagnosticData/ARM/DiagnosticData.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,17 +114,34 @@
}
},
{
"type": "Microsoft.Insights/components",
"apiVersion": "2020-02-02",
"type": "Microsoft.OperationalInsights/workspaces",
"apiVersion": "2020-08-01",
"name": "[variables('applicationInsightsName')]",
"location": "[variables('location')]",
"tags": {
"[format('hidden-link:{0}', resourceId('Microsoft.Web/sites', variables('applicationInsightsName')))]": "Resource"
},
"properties": {
"Application_Type": "web"
"sku": {
"name": "PerGB2018"
},
"retentionInDays": "90"
},
"kind": "web"
"resources": [
{
"type": "Microsoft.Insights/components",
"apiVersion": "2020-02-02",
"name": "[variables('applicationInsightsName')]",
"location": "[variables('location')]",
"properties": {
"ApplicationId": "[variables('applicationInsightsName')]",
"Application_Type": "web",
"Flow_Type": "Bluefield",
"Request_Source": "rest",
"WorkspaceResourceId": "[resourceId(resourceGroup().name, 'Microsoft.OperationalInsights/workspaces', variables('applicationInsightsName'))]"
},
"dependsOn": [
"[resourceId(resourceGroup().name, 'Microsoft.OperationalInsights/workspaces', variables('applicationInsightsName'))]"
]
}
]
},
{
"type": "Microsoft.Web/sites",
Expand Down
5 changes: 4 additions & 1 deletion DiagnosticData/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@
## DiagnosticData
<!-- To add a new entry write: -->
<!-- ### version / full date -->
<!-- * [Update/Bug fix] message that describes the changes that you apply -->
<!-- * [Update/Bug fix] message that describes the changes that you apply -->

### 2.0.0 / 21 Feb 2023
[Update/Breaking] Replacing "Classic" Application Insights with Workspace-Based Application Insights.
2 changes: 1 addition & 1 deletion DiagnosticData/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "coralogix-azure-serverless",
"title": "Azure Functions for integration with Coralogix",
"version": "1.0.0",
"version": "2.0.0",
"description": "Azure Functions Set for integration with Coralogix",
"homepage": "https://coralogix.com",
"license": "Apache-2.0",
Expand Down
33 changes: 25 additions & 8 deletions EventHub/ARM/EventHub.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"parameters": {
"CoralogixRegion": {
"type": "string",
"defaultValue": "Europe",
"defaultValue": "Europe(eu-west-1)",
"allowedValues": [
"Europe(eu-west-1)",
"US(us-east-2)",
Expand Down Expand Up @@ -114,17 +114,34 @@
}
},
{
"type": "Microsoft.Insights/components",
"apiVersion": "2020-02-02",
"type": "Microsoft.OperationalInsights/workspaces",
"apiVersion": "2020-08-01",
"name": "[variables('applicationInsightsName')]",
"location": "[variables('location')]",
"tags": {
"[format('hidden-link:{0}', resourceId('Microsoft.Web/sites', variables('applicationInsightsName')))]": "Resource"
},
"properties": {
"Application_Type": "web"
"sku": {
"name": "PerGB2018"
},
"retentionInDays": "90"
},
"kind": "web"
"resources": [
{
"type": "Microsoft.Insights/components",
"apiVersion": "2020-02-02",
"name": "[variables('applicationInsightsName')]",
"location": "[variables('location')]",
"properties": {
"ApplicationId": "[variables('applicationInsightsName')]",
"Application_Type": "web",
"Flow_Type": "Bluefield",
"Request_Source": "rest",
"WorkspaceResourceId": "[resourceId(resourceGroup().name, 'Microsoft.OperationalInsights/workspaces', variables('applicationInsightsName'))]"
},
"dependsOn": [
"[resourceId(resourceGroup().name, 'Microsoft.OperationalInsights/workspaces', variables('applicationInsightsName'))]"
]
}
]
},
{
"type": "Microsoft.Web/sites",
Expand Down
5 changes: 4 additions & 1 deletion EventHub/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@
## EventHub
<!-- To add a new entry write: -->
<!-- ### version / full date -->
<!-- * [Update/Bug fix] message that describes the changes that you apply -->
<!-- * [Update/Bug fix] message that describes the changes that you apply -->

### 2.0.0 / 21 Feb 2023
[Update/Breaking] Replacing "Classic" Application Insights with Workspace-Based Application Insights.
6 changes: 3 additions & 3 deletions EventHub/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "coralogix-azure-serverless",
"title": "Azure Functions for integration with Coralogix",
"version": "1.0.1",
"version": "2.0.0",
"description": "Azure Functions Set for integration with Coralogix",
"homepage": "https://coralogix.com",
"license": "Apache-2.0",
Expand Down Expand Up @@ -55,8 +55,8 @@
"url": "https://github.com/coralogix/coralogix-azure-serverless/issues"
},
"devDependencies": {
"@azure/functions": ">=3.5.0",
"@types/node": ">=18.11.18",
"@azure/functions": "^3.5.1",
"@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": ">=5.48.2",
"@typescript-eslint/parser": ">=5.48.2",
"eslint": ">=8.32.0",
Expand Down
31 changes: 24 additions & 7 deletions StorageQueue/ARM/StorageQueue.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,17 +108,34 @@
}
},
{
"type": "Microsoft.Insights/components",
"apiVersion": "2020-02-02",
"type": "Microsoft.OperationalInsights/workspaces",
"apiVersion": "2020-08-01",
"name": "[variables('applicationInsightsName')]",
"location": "[variables('location')]",
"tags": {
"[format('hidden-link:{0}', resourceId('Microsoft.Web/sites', variables('applicationInsightsName')))]": "Resource"
},
"properties": {
"Application_Type": "web"
"sku": {
"name": "PerGB2018"
},
"retentionInDays": "90"
},
"kind": "web"
"resources": [
{
"type": "Microsoft.Insights/components",
"apiVersion": "2020-02-02",
"name": "[variables('applicationInsightsName')]",
"location": "[variables('location')]",
"properties": {
"ApplicationId": "[variables('applicationInsightsName')]",
"Application_Type": "web",
"Flow_Type": "Bluefield",
"Request_Source": "rest",
"WorkspaceResourceId": "[resourceId(resourceGroup().name, 'Microsoft.OperationalInsights/workspaces', variables('applicationInsightsName'))]"
},
"dependsOn": [
"[resourceId(resourceGroup().name, 'Microsoft.OperationalInsights/workspaces', variables('applicationInsightsName'))]"
]
}
]
},
{
"type": "Microsoft.Web/sites",
Expand Down
5 changes: 4 additions & 1 deletion StorageQueue/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@
## StorageQueue
<!-- To add a new entry write: -->
<!-- ### version / full date -->
<!-- * [Update/Bug fix] message that describes the changes that you apply -->
<!-- * [Update/Bug fix] message that describes the changes that you apply -->

### 2.0.0 / 21 Feb 2023
[Update/Breaking] Replacing "Classic" Application Insights with Workspace-Based Application Insights.
6 changes: 3 additions & 3 deletions StorageQueue/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "coralogix-azure-serverless",
"title": "Azure Functions for integration with Coralogix",
"version": "1.0.0",
"version": "2.0.0",
"description": "Azure Functions Set for integration with Coralogix",
"homepage": "https://coralogix.com",
"license": "Apache-2.0",
Expand Down Expand Up @@ -49,8 +49,8 @@
"url": "https://github.com/coralogix/coralogix-azure-serverless/issues"
},
"devDependencies": {
"@azure/functions": ">=3.5.0",
"@types/node": ">=18.11.18",
"@azure/functions": "^3.5.1",
"@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": ">=5.48.2",
"@typescript-eslint/parser": ">=5.48.2",
"eslint": ">=8.32.0",
Expand Down
Loading