ASP.NET Core Web APIWebサービスを開発しています。 Webサービスは、すべてのテレメトリと依存関係の追跡にAzure ApplicationInsightsを使用します。 Webサービスは、Microsoft SQLServer以外のデータベースに対してデータの読み取りと書き込みを行います。 サードパーティデータベースへの呼び出しに対して依存関係の追跡が機能することを確認する必要があります。 データベースに保存する必要がある2つの依存関係テレメトリプロパティはどれですか?それぞれの正解は、解決策の一部を示しています。 注:正しい選択はそれぞれ1ポイントの価値があります。
正解:A,C
Explanation References: https://docs.microsoft.com/en-us/azure/azure-monitor/app/custom-operations-tracking Example: public async Task Enqueue(string payload) { // StartOperation is a helper method that initializes the telemetry item // and allows correlation of this operation with its parent and children. var operation = telemetryClient.StartOperation<DependencyTelemetry>("enqueue " + queueName); operation.Telemetry.Type = "Azure Service Bus"; operation.Telemetry.Data = "Enqueue " + queueName; var message = new BrokeredMessage(payload); // Service Bus queue allows the property bag to pass along with the message. // We will use them to pass our correlation identifiers (and other context) // to the consumer. message.Properties.Add("ParentId", operation.Telemetry.Id); message.Properties.Add("RootId", operation.Telemetry.Context.Operation.Id); Reference: https://docs.microsoft.com/en-us/azure/azure-monitor/app/custom-operations-tracking