/// <inheritdoc/>
        protected override void OnOperationStart(OperationStartDiagnosticData data)
        {
            if (data is null)
            {
                return;
            }

            var builder = _operationBuilders.GetOrAdd(data.Operation, k => new DotGraphBuilder());

            builder.OnOperationStart(data.Operation.InitiatingRequest?.Service.GraphDisplayName(), Interlocked.Increment(ref _sequenceNumber));
        }
Esempio n. 2
0
 protected override void OnOperationStart(OperationStartDiagnosticData data)
 {
     OperationStarting?.Invoke(data.Operation, data.InitiatingRequest);
 }