Skip to content

[Bug] Dashboard throughput doesn't count grain calls in heterogenerous cluster. #442

Description

@vrecluse

Dashboard v8.2.0
Orleans v9.1.2
I'm running heterogenerous silos by configuring GrainTypeOptions.
silo1, silo2: exclude ITestGrain, TestGrain by removing them from GrainTypeOptions,
silo3: only includes ITestGrain, TestGrain.
at startup:

        if (allowedGrainTypesOptions.Value.Method == AllowedGrainTypesMethod.Exclude)
        {
            _ = DelayRunTest();

            async Task DelayRunTest()
            {
                await Task.Delay(10 * 1000);
                var random = Random.Shared.Next();
                while (true)
                {
                    for (var i = random; i < random + 1000; ++i)
                    {
                        _ = _client.GetGrain<ITestGrain>(i).GetAsync();
                    }

                    await Task.Delay(1000);
                }
            }
        }

Which calls ITestGrain only from silos that do not run it.
The calls are ok, but the dashboard shows 0 throughput:

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions