@azure/mcp-linux-arm64 2.0.0-beta.30 → 2.0.0-beta.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/dist/Instrumentation/Resources/api-reference/dotnet/AddApplicationInsightsTelemetryWorkerService.md +115 -0
  2. package/dist/Instrumentation/Resources/api-reference/dotnet/ApplicationInsightsWeb.md +103 -0
  3. package/dist/Instrumentation/Resources/api-reference/dotnet/ConfigureOpenTelemetryProvider.md +23 -0
  4. package/dist/Instrumentation/Resources/api-reference/dotnet/ConsoleExporter.md +47 -0
  5. package/dist/Instrumentation/Resources/api-reference/dotnet/EntityFrameworkInstrumentation.md +56 -0
  6. package/dist/Instrumentation/Resources/api-reference/dotnet/HttpInstrumentation.md +109 -0
  7. package/dist/Instrumentation/Resources/api-reference/dotnet/LogProcessors.md +2 -0
  8. package/dist/Instrumentation/Resources/api-reference/dotnet/OtlpExporter.md +88 -0
  9. package/dist/Instrumentation/Resources/api-reference/dotnet/RedisInstrumentation.md +63 -0
  10. package/dist/Instrumentation/Resources/api-reference/dotnet/SqlClientInstrumentation.md +53 -0
  11. package/dist/Instrumentation/Resources/api-reference/dotnet/TelemetryClient.md +122 -0
  12. package/dist/Instrumentation/Resources/api-reference/dotnet/TelemetryConfigurationBuilder.md +173 -0
  13. package/dist/Instrumentation/Resources/concepts/dotnet/appinsights-aspnetcore.md +113 -0
  14. package/dist/Instrumentation/Resources/concepts/dotnet/aspnet-classic-appinsights.md +95 -0
  15. package/dist/Instrumentation/Resources/concepts/dotnet/azure-monitor-distro.md +1 -1
  16. package/dist/Instrumentation/Resources/concepts/dotnet/opentelemetry-pipeline.md +1 -1
  17. package/dist/Instrumentation/Resources/concepts/nodejs/azure-monitor-overview.md +106 -0
  18. package/dist/Instrumentation/Resources/concepts/nodejs/opentelemetry-pipeline.md +201 -0
  19. package/dist/Instrumentation/Resources/concepts/python/azure-monitor-overview.md +122 -0
  20. package/dist/Instrumentation/Resources/concepts/python/opentelemetry-pipeline.md +154 -0
  21. package/dist/Instrumentation/Resources/examples/dotnet/aspnet-classic-setup.md +80 -0
  22. package/dist/Instrumentation/Resources/examples/dotnet/aspnetcore-distro-setup.md +156 -0
  23. package/dist/Instrumentation/Resources/examples/dotnet/aspnetcore-setup.md +34 -30
  24. package/dist/Instrumentation/Resources/examples/dotnet/workerservice-setup.md +154 -0
  25. package/dist/Instrumentation/Resources/examples/nodejs/bunyan-setup.md +301 -0
  26. package/dist/Instrumentation/Resources/examples/nodejs/console-setup.md +284 -0
  27. package/dist/Instrumentation/Resources/examples/nodejs/express-setup.md +169 -0
  28. package/dist/Instrumentation/Resources/examples/nodejs/fastify-setup.md +237 -0
  29. package/dist/Instrumentation/Resources/examples/nodejs/langchain-js-setup.md +310 -0
  30. package/dist/Instrumentation/Resources/examples/nodejs/mongodb-setup.md +185 -0
  31. package/dist/Instrumentation/Resources/examples/nodejs/mysql-setup.md +231 -0
  32. package/dist/Instrumentation/Resources/examples/nodejs/nestjs-setup.md +184 -0
  33. package/dist/Instrumentation/Resources/examples/nodejs/nextjs-setup.md +320 -0
  34. package/dist/Instrumentation/Resources/examples/nodejs/postgres-setup.md +147 -0
  35. package/dist/Instrumentation/Resources/examples/nodejs/redis-setup.md +198 -0
  36. package/dist/Instrumentation/Resources/examples/nodejs/winston-setup.md +260 -0
  37. package/dist/Instrumentation/Resources/examples/python/console-setup.md +392 -0
  38. package/dist/Instrumentation/Resources/examples/python/django-setup.md +269 -0
  39. package/dist/Instrumentation/Resources/examples/python/fastapi-setup.md +256 -0
  40. package/dist/Instrumentation/Resources/examples/python/flask-setup.md +218 -0
  41. package/dist/Instrumentation/Resources/examples/python/genai-setup.md +214 -0
  42. package/dist/Instrumentation/Resources/examples/python/generic-setup.md +164 -0
  43. package/dist/Instrumentation/Resources/migration/dotnet/aad-authentication-migration.md +150 -0
  44. package/dist/Instrumentation/Resources/migration/dotnet/appinsights-2x-to-3x-code-migration.md +30 -0
  45. package/dist/Instrumentation/Resources/migration/dotnet/aspnet-classic-2x-to-3x-code-migration.md +190 -0
  46. package/dist/Instrumentation/Resources/migration/dotnet/console-2x-to-3x-code-migration.md +106 -0
  47. package/dist/Instrumentation/Resources/migration/dotnet/ilogger-migration.md +54 -0
  48. package/dist/Instrumentation/Resources/migration/dotnet/workerservice-2x-to-3x-code-migration.md +126 -0
  49. package/dist/Instrumentation/Resources/migration/dotnet/workerservice-2x-to-3x-no-code-change.md +102 -0
  50. package/dist/azmcp +0 -0
  51. package/package.json +3 -3
@@ -0,0 +1,102 @@
1
+ ---
2
+ title: WorkerService 2.x to 3.x — No-Code-Change Migration
3
+ category: migration
4
+ applies-to: 3.x
5
+ ---
6
+
7
+ # Worker Service 2.x → 3.x — No Code Change
8
+
9
+ ## When this applies
10
+
11
+ Your migration requires **only a package upgrade** (no code changes) if both of these are true:
12
+
13
+ 1. You call `AddApplicationInsightsTelemetryWorkerService()` with no arguments, an `IConfiguration`, or with options that only set **unchanged properties**.
14
+ 2. You do not call `AddApplicationInsightsTelemetryWorkerService(string instrumentationKey)`.
15
+
16
+ ### Unchanged properties (safe to keep as-is)
17
+
18
+ | Property | Default |
19
+ |---|---|
20
+ | `ConnectionString` | `null` |
21
+ | `ApplicationVersion` | Entry assembly version |
22
+ | `EnableQuickPulseMetricStream` | `true` |
23
+ | `EnablePerformanceCounterCollectionModule` | `true` |
24
+ | `EnableDependencyTrackingTelemetryModule` | `true` |
25
+ | `AddAutoCollectedMetricExtractor` | `true` |
26
+
27
+ If your code only uses these properties (or none at all), no code changes are needed.
28
+
29
+ ## Migration steps
30
+
31
+ ### 1. Update the package
32
+
33
+ ```xml
34
+ <PackageReference Include="Microsoft.ApplicationInsights.WorkerService" Version="3.*" />
35
+ ```
36
+
37
+ ### 2. Build and run
38
+
39
+ That's it. No code changes required.
40
+
41
+ ## Examples that work without changes
42
+
43
+ **Parameterless call:**
44
+ ```csharp
45
+ using Microsoft.Extensions.DependencyInjection;
46
+
47
+ var builder = Host.CreateDefaultBuilder(args);
48
+ builder.ConfigureServices(services =>
49
+ {
50
+ services.AddApplicationInsightsTelemetryWorkerService();
51
+ });
52
+ var host = builder.Build();
53
+ await host.RunAsync();
54
+ ```
55
+
56
+ **IConfiguration overload:**
57
+ ```csharp
58
+ using Microsoft.Extensions.DependencyInjection;
59
+
60
+ var builder = Host.CreateDefaultBuilder(args);
61
+ builder.ConfigureServices(services =>
62
+ {
63
+ services.AddApplicationInsightsTelemetryWorkerService(builder.Configuration);
64
+ });
65
+ var host = builder.Build();
66
+ await host.RunAsync();
67
+ ```
68
+
69
+ **Options with only unchanged properties:**
70
+ ```csharp
71
+ using Microsoft.Extensions.DependencyInjection;
72
+ using Microsoft.ApplicationInsights.WorkerService;
73
+
74
+ var builder = Host.CreateDefaultBuilder(args);
75
+ builder.ConfigureServices(services =>
76
+ {
77
+ services.AddApplicationInsightsTelemetryWorkerService(options =>
78
+ {
79
+ options.ConnectionString = "InstrumentationKey=...;IngestionEndpoint=...";
80
+ options.EnableQuickPulseMetricStream = true;
81
+ options.EnableDependencyTrackingTelemetryModule = true;
82
+ });
83
+ });
84
+ var host = builder.Build();
85
+ await host.RunAsync();
86
+ ```
87
+
88
+ All three examples above work identically in 2.x and 3.x.
89
+
90
+ ## What changes under the hood
91
+
92
+ Even though your code stays the same, 3.x brings these improvements automatically:
93
+
94
+ - Telemetry is now collected via OpenTelemetry — better standards alignment and ecosystem compatibility.
95
+ - `TracesPerSecond` (effective default `5`) provides rate-limited sampling out of the box. No configuration needed.
96
+ - Logging is integrated automatically — `ILogger` output is exported to Application Insights without additional setup.
97
+ - Azure resource detection (App Service, VM) happens automatically.
98
+
99
+ ## See also
100
+
101
+ - WorkerService 2.x to 3.x Code Migration(see in workerservice-2x-to-3x-code-migration.md)
102
+ - AddApplicationInsightsTelemetryWorkerService API reference(see in AddApplicationInsightsTelemetryWorkerService.md)
package/dist/azmcp CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure/mcp-linux-arm64",
3
- "version": "2.0.0-beta.30",
3
+ "version": "2.0.0-beta.31",
4
4
  "description": "Azure MCP Server - Model Context Protocol implementation for Azure, for linux on arm64",
5
5
  "author": "Microsoft",
6
6
  "homepage": "https://github.com/Microsoft/mcp/blob/main/servers/Azure.Mcp.Server#readme",
@@ -14,8 +14,8 @@
14
14
  "url": "https://github.com/microsoft/mcp/issues"
15
15
  },
16
16
  "repository": {
17
- "type": "git",
18
- "url": "https://github.com/microsoft/mcp.git"
17
+ "url": "https://github.com/microsoft/mcp.git",
18
+ "type": "git"
19
19
  },
20
20
  "engines": {
21
21
  "node": ">=20.0.0"