Skip to content

Regression when matching to database as uninstrumented peer #10452

Closed

Description

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

This call to a database no longer matches the database resource:

Image

I think it could be caused by the address matching to the database and the database container. Possibly introduced by #10411 (or the earlier PR which updated matching to use additional values)

Edit: reverted to before and after #10411 and it is definitely the cause

Expected Behavior

Image

From viewing a trace of visiting the online store in TestShop.

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version info

No response

Anything else?

No response

Activity

  1. added
    area-integrations
    on Jul 16, 2025
  2. JamesNK commented on Jul 16, 2025

    @JamesNK
    MemberAuthor
  3. JamesNK commented on Jul 16, 2025

    @JamesNK
    MemberAuthor

    It also doesn't match replicas when a request is made to a replica but the server span from the replica has finished yet:

    Image

    Previously one of the replicas was chosen.

  4. added and removed
    area-integrations
    on Jul 16, 2025
  5. added this to the 9.4 milestone on Jul 16, 2025
  6. davidfowl commented on Jul 16, 2025

    @davidfowl
    Collaborator

    Its possible that we need more complex logic here but for 9.4 we will just remove this logic (revert the change). Lets put this logic back https://github.com/dotnet/aspire/blob/b154569156fa3f01ee720e38e53852739efb5fcc/src/Aspire.Dashboard/Model/ResourceOutgoingPeerResolver.cs#L195-L205 to first one wins and revert the tests that were added in https://github.com/dotnet/aspire/pull/10411.diff as well

  7. locked and limited conversation to collaborators on Aug 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions