Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jodydonetti committed Feb 11, 2024
2 parents 6d4cfd2 + 74a997e commit 6054fca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ assignees: ''

---

**Describe the bug**
## Describe the bug
A clear and concise description of what the bug is.

**To Reproduce**
## To Reproduce
Here's a [MRE (Minimal Reproducible Example)](https://en.wikipedia.org/wiki/Minimal_reproducible_example) of the issue:
- code sample block
- or gist
Expand All @@ -21,18 +21,18 @@ Here's a [MRE (Minimal Reproducible Example)](https://en.wikipedia.org/wiki/Mini
For some help on this look at this [help page](https://stackoverflow.com/help/minimal-reproducible-example) on Stack Overflow.
-->

**Expected behavior**
## Expected behavior
A clear and concise description of what you expected to happen.

**Versions**
## Versions
I've encountered this issue on:
- FusionCache version
- .NET version
- OS version
- others (eg: if applicable, the Redis/Memcached/etc version and if onprem/cloud/etc)

**Screenshots**
## Screenshots
If applicable, add screenshots to help explain your problem.

**Additional context**
## Additional context
Add any other context about the problem here.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public bool HasEvictionSubscribers()

internal void OnEviction(string operationId, string key, EvictionReason reason, object? value)
{
Metrics.CounterMemoryEvict.Maybe()?.AddWithCommonTags(1, _cache.CacheName, _cache.InstanceId);
Metrics.CounterMemoryEvict.Maybe()?.AddWithCommonTags(1, _cache.CacheName, _cache.InstanceId, new KeyValuePair<string, object?>("fusioncache.memory.evict_reason", reason.ToString()));

Eviction?.SafeExecute(operationId, key, _cache, () => new FusionCacheEntryEvictionEventArgs(key, reason, value), nameof(Eviction), _logger, _errorsLogLevel, _syncExecution);
}
Expand Down

0 comments on commit 6054fca

Please sign in to comment.