Azure / azure-cosmos-dotnet-v3

.NET SDK for Azure Cosmos DB for the core SQL API
MIT License
741 stars 494 forks source link

Use AppInsigths to capture Cosmos Benchmark metrics #3892

Closed M-Lipin closed 1 year ago

M-Lipin commented 1 year ago

Subtasks:

sequenceDiagram
    participant A as Azure VM
    participant B as Benchmark Tool
    participant C as CosmosDB
    participant D as OpenTelemetry
    participant E as Application Insights

    A->>B: Launch Benchmark Tool

        B->>C: Request
        activate C

        C->>B: Response 
        deactivate C
        B->>D: Put metrics on each operation completion
        activate D

        par Every 5 sec (flush)
            D->>E: Send successes and failures, latencies and RPS
            Note right of C: collect and aggregate raw data
        end
        deactivate D
        B->>B: Benchmark completed
M-Lipin commented 1 year ago
M-Lipin commented 1 year ago
M-Lipin commented 1 year ago

https://github.com/Azure/azure-cosmos-dotnet-v3/pull/3932 - Dashboard template

philipthomas-MSFT commented 1 year ago

Please add project type for associated PRs so that it appears on board.