Skip to content

Commit 38ccf98

Browse files
Update log statements to mention RavenDB
1 parent 3d90262 commit 38ccf98

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public override async Task<CheckResult> PerformCheck(CancellationToken cancellat
1616

1717
if (isHighDirty)
1818
{
19-
var message = $"There is a high level of dirty memory ({dirtyMemoryKb}kb). Check the ServiceControl " +
19+
var message = $"There is a high level of RavenDB dirty memory ({dirtyMemoryKb}kb). Check the ServiceControl " +
2020
"troubleshooting guide for guidance on how to mitigate the issue.";
2121
Log.Warn(message);
2222
return CheckResult.Failed(message);
@@ -32,13 +32,13 @@ public override async Task<CheckResult> PerformCheck(CancellationToken cancellat
3232
switch (lastDirtyMemoryReads.Count)
3333
{
3434
case < 3:
35-
Log.Debug("Not enough dirty memory data in the series to calculate a trend.");
35+
Log.Debug("Not enough RavenDB dirty memory data in the series to calculate a trend.");
3636
break;
3737
// TODO do we need a threshold below which the check never fails?
3838
// Three means we'll be observing for 15 minutes before calculating the trend
3939
case >= 3 when AnalyzeTrendUsingRegression(lastDirtyMemoryReads) == TrendDirection.Increasing:
4040
{
41-
var message = $"Dirty memory is increasing. Last available value is {dirtyMemoryKb}kb. " +
41+
var message = $"RavenDB dirty memory is increasing. Last available value is {dirtyMemoryKb}kb. " +
4242
$"Check the ServiceControl troubleshooting guide for guidance on how to mitigate the issue.";
4343
Log.Warn(message);
4444
return CheckResult.Failed(message);

0 commit comments

Comments
 (0)