This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Custom Metric - Token Perm Entries

Description

This custom metric will collect the number of entries in the Token and Perm User Store. For more information about this metric, here is a blog article from Microsoft.

Metric Definition

To create the custom metric, click on Options > Custom Resource Metrics and configure the metric similar to this:

Database Versions: <no limitations>

Display Name: Token Perm Entries

Description: <add your own description>

Category: <add to whatevfer category you like or create a new one>

Units: Entries

Metric Type: Single Value

Frequency: 60

Timeout: 20

SQL Statement:

select COUNT(1)

from sys.dm_os_memory_cache_entries

where name='TokenAndPermUserStore'