Skip to content

Commit

Permalink
Add documentation for Telemetry Logging (#3738)
Browse files Browse the repository at this point in the history
* Add documentation for TelemetryLogging

Adding the documentation Isao provided in OSS repo, so we have it in a common place

* Update TelemetryLogging.md
  • Loading branch information
EXPEkesheth authored Mar 6, 2024
1 parent 1c21a10 commit 01069b9
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/TelemetryLogging.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Enabling telemetry logging with Application Insights

FHIR server enables telemetry logging to your Application Insights resource by updating the Telemetry section in appsettings.json.
1. Application Insights logging package with the Application Insights instrumentation key.
1. Application Insights logging package with the Application Insights connection string.

Properties in Telemetry section in appsettings.json
* Provider : Telemetry provider is “ApplicationInsights” or “None” for disabling telemetry logging.
* InstrumentationKey : The instrumentation key of your Application Insights resource.
* ConnectionString : The connection string of your Application Insights resource.

**Note**:
1. Technical support for instrumentation key-based logging in Application Insights will end in March 2025.
2. When the instrumentation key and connection string are provided in appsettings.json for ApplicationInsights provider, the instrumentation key will be used.

Next Steps: OpenTelemetry provider is still experimental-mode, not recommended for production use.
To use OTEL, set the provider value to “OpenTelemetry” in appsettings.json. Incase the connection string is used for OpenTelemetry provider, the instrumentation key will be ignored.


0 comments on commit 01069b9

Please sign in to comment.