- 26 Oct 2023
- 1 Minute to read
- PDF
Application Insights in Azure Monitor
- Updated on 26 Oct 2023
- 1 Minute to read
- PDF
Using Azure Application Insights, you can ingest telemetry from DocFusion that makes generation, statistical and data metrics available through custom properties. The data can then be visualized using KQL for performance monitoring or tweaking. Note: Telemetry features only apply to on-premises instances of DocFusion and only Azure Monitor is currently supported as instrumentation.
Configuration
To setup telemetry in Azure, provision your test templates and chains then configure your InsightsConnectionString parameter in the setup Overview for AppInsights using the following format:
InstrumentationKey="<Your-Key>";IngestionEndpoint="<URL>";LiveEndpoint="<URL>"
It may take a few minutes for data to display in the portal. Generation time on the server can be measured using custom availability testing and querying the custom properties.
You can also use the installation parameters file to configure your instrumentation and, to disable availability reporting, use a blank connection string in the InsightsConnectionString parameter.
Refer to this Microsoft guide for more help with setting up in Application Insights: Connection strings in Application Insights - Azure Monitor | Microsoft Learn
Custom Properties
For performance analysis, generator custom properties recorded for DocFusion V2 API methods are listed below. Refer to your API documentation for more information.
Ad Hoc Generation
GenerateDocument | GenerateDocumentFull |
|
|
Queued Generation
QueueJobForGeneration | QueueJobForGenerationStreamed |
|
|
GetQueuedJobStatus | GetQueuedJobInformation |
|
|
GetQueuedJobGenerateResult | GetQueuedJobGenerateResultDataStreamed |
|
|
GetQueuedJobRequest | QueuedJobClear |
|
|
Logging & Statistics
GetGenerationSnapshot | GetGenerationJobLog |
---|---|
|
|
Data & Metadata
GetScenarios | GetSchema |
---|---|
|
|
GetExternalReferences | |
|