Skip to content

CustomCheck messages should respect NewLines #658

@danielmarbach

Description

@danielmarbach

While implementing a meaningful custom check failed message @boblangley and I realized that ServicePulse doesn't respect NewLines added to the custom check failed messages. It would be beneficial and helpful if the UI would respect newlines and properly render it in a responsive way

image

Actual message

Unable to read the Dead Letter Queue length. The performance counter with category 'LocalizedCategoryName' and name 'LocalizedCounterName' and instance name 'LocalizedCounterInstanceName' is not available. It is possible that the counter category, name and instance name have been localized into different languages. Consider overriding the counter category, name and instance name in the application configuration file by adding:
   <appSettings>
     <add key="ServiceControl/Msmq/PerformanceCounterCategoryName" value="LocalizedCategoryName" />
     <add key="ServiceControl/Msmq/PerformanceCounterName" value="LocalizedCounterName" />
     <add key="ServiceControl/Msmq/PerformanceCounterInstanceName" value="LocalizedCounterInstanceName" />
   </appSettings>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions