Skip to content

Commit 151e29d

Browse files
Link to the troubleshooting guidance page
1 parent 86d1612 commit 151e29d

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

src/ServiceControl.Audit.Persistence.RavenDB/CustomChecks/CheckDirtyMemory.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ public override async Task<CheckResult> PerformCheck(CancellationToken cancellat
1717
if (isHighDirty)
1818
{
1919
var message = $"There is a high level of RavenDB dirty memory ({dirtyMemoryKb}kb). Check the ServiceControl " +
20-
"troubleshooting guide for guidance on how to mitigate the issue.";
20+
"troubleshooting guide for guidance on how to mitigate the issue. " +
21+
"Visit the https://docs.particular.net/servicecontrol/troubleshooting page for more information.";
2122
Log.Warn(message);
2223
return CheckResult.Failed(message);
2324
}
@@ -39,7 +40,8 @@ public override async Task<CheckResult> PerformCheck(CancellationToken cancellat
3940
case >= 3 when AnalyzeTrendUsingRegression(lastDirtyMemoryReads) == TrendDirection.Increasing:
4041
{
4142
var message = $"RavenDB dirty memory is increasing. Last available value is {dirtyMemoryKb}kb. " +
42-
$"Check the ServiceControl troubleshooting guide for guidance on how to mitigate the issue.";
43+
$"Check the ServiceControl troubleshooting guide for guidance on how to mitigate the issue. " +
44+
$"Visit the https://docs.particular.net/servicecontrol/troubleshooting page for more information.";
4345
Log.Warn(message);
4446
return CheckResult.Failed(message);
4547
}

src/ServiceControl.Persistence.RavenDb/CustomChecks/CheckDirtyMemory.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ public override async Task<CheckResult> PerformCheck(CancellationToken cancellat
1717
if (isHighDirty)
1818
{
1919
var message = $"There is a high level of RavenDB dirty memory ({dirtyMemoryKb}kb). Check the ServiceControl " +
20-
"troubleshooting guide for guidance on how to mitigate the issue.";
20+
"troubleshooting guide for guidance on how to mitigate the issue. " +
21+
"Visit the https://docs.particular.net/servicecontrol/troubleshooting page for more information.";
2122
Log.Warn(message);
2223
return CheckResult.Failed(message);
2324
}
@@ -39,7 +40,8 @@ public override async Task<CheckResult> PerformCheck(CancellationToken cancellat
3940
case >= 3 when AnalyzeTrendUsingRegression(lastDirtyMemoryReads) == TrendDirection.Increasing:
4041
{
4142
var message = $"RavenDB dirty memory is increasing. Last available value is {dirtyMemoryKb}kb. " +
42-
$"Check the ServiceControl troubleshooting guide for guidance on how to mitigate the issue.";
43+
$"Check the ServiceControl troubleshooting guide for guidance on how to mitigate the issue. " +
44+
$"Visit the https://docs.particular.net/servicecontrol/troubleshooting page for more information.";
4345
Log.Warn(message);
4446
return CheckResult.Failed(message);
4547
}

0 commit comments

Comments
 (0)