Skip to content

Monitoring - Some messages might break Endpoint Details UI #581

@jenspettersson

Description

@jenspettersson

When looking at endpoint details that contains messages that implements something else than ONLY IEvent / IMessage etc, the UI is broken.

Look at the following screenshot:
image
(had to obfuscate a bit...)

Some of the messages handled by this endpoint implements another interface and not the IEvent directly and those seem to break the UI. It's the messages that ends with "Saved" and "Published", the "Added" only implements the IEvent and looks good (but in the wrong place due to the UI being broken).

An easy way to reproduce:

Create a "marker" interface:

interface IMyInterface : IEvent ...

Create a class that implement that marker interface:

class MyEvent : IMyInterface

In our case, the marker interface is in another project than the actual message and this is the "message type" that the UI shows:

My.Namespace.Messages.MyEvent, My.Namespace, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null; Another.Namespace.IMyInterface, Another.Namespace, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null


Technical information if reporting bug:

  • ServicePulse version: v1.10.2
  • ServiceControl version: v1.43.4

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