AM Prometheus metrics
Advanced Identity Cloud provides monitoring endpoints you can use with Prometheus.
This section describes the Prometheus monitoring metrics accessible at the /monitoring/prometheus/am
endpoint.
|
Metric types
The following metric types are available.
Summary
The summary metric samples observations, providing a count of observations, sum total of observed amounts, average rate of events, and moving average rates across sliding time windows.
Prometheus summary fields
Field | Description |
---|---|
|
The metric ID and type formatted as a comment. |
|
The number of events recorded. |
|
The sum of the number of events recorded. |
Example
# TYPE am_authentication summary
am_authentication_count{outcome="success"} 2.0
am_authentication_sum{outcome="success"} 2.0
Timer
The timer metric combines rate and duration information.
Prometheus timer fields
Field | Description | ||
---|---|---|---|
|
The metric ID, and type. Formatted as a comment.
|
||
|
The number of events recorded. |
||
|
The sum of the number of events recorded. |
||
|
50% of the durations are at or below this value. |
||
|
75% of the durations are at or below this value. |
||
|
95% of the durations are at or below this value. |
||
|
98% of the durations are at or below this value. |
||
|
99% of the durations are at or below this value. |
||
|
99.9% of the durations are at or below this value. |
Duration-based quantile values are weighted towards newer data. By representing approximately the last five minutes of data, the timers make it easier to see recent changes in behavior, rather than a uniform average of recordings since the server was started. |
Gauge
The gauge metric is a numerical value that can increase or decrease. The value for a gauge is calculated when requested, and represents the state of the metric at that specific time.
Prometheus gauge fields
Field | Description |
---|---|
|
The metric ID, and type. Formatted as a comment. |
|
The current value. Large values may be represented in scientific E-notation. |
Distinct counter
Metric providing an estimate of the number of unique values recorded.
For example, this could be used to estimate the number of unique users who have authenticated, or unique client IP addresses.
Prometheus distinct counter fields
Field | Description |
---|---|
|
The metric ID, and type.
Note that the |
|
The calculated estimate of the number of unique values recorded in the metric. |
Example
# TYPE am_authentication_unique_uuid gauge
am_authentication_unique_uuid{outcome="success"} 3.0
Authentication metrics
Advanced Identity Cloud exposes the following monitoring metrics related to authentication:
Prometheus authentication metrics
Name | Type | Description |
---|---|---|
|
Summary |
Rate of successful/unsuccessful/timed-out authentication flows (count). The count of successful authentications is incremented when an authentication journey completes successfully. Likewise, the authentication count for failure outcomes is incremented for failed authentication journeys. For example, the authorization code flow requires a user session to exist and could redirect the user to a journey for authentication. The completion of this authentication step would then update the count. The client credentials grant, however, doesn’t use a journey for authentication and, therefore, doesn’t increment the count. |
|
Summary |
Rate of successful/unsuccessful/timed-out authentication flows (total). |
|
Gauge |
Count of unique identities that have successfully logged in. |
Label | Values |
---|---|
|
|
Authorization metrics
Advanced Identity Cloud exposes the following authorization-related monitoring metrics after a policy evaluation takes place:
Prometheus authorization metrics
Name | Type | Description |
---|---|---|
|
Summary |
Number of policies created/updated/deleted under a given policy set since the Advanced Identity Cloud service was restarted. (Summary) |
|
Summary |
Number of policies created/updated/deleted under a given policy set since the Advanced Identity Cloud service was restarted. (Summary) |
|
Summary |
Number of cached subject membership relationships. |
|
Summary |
Rate of successful/unsuccessful policy evaluation calls under a given policy set and time taken to perform this operation. (Timer) |
|
Summary |
Rate of successful/unsuccessful policy evaluation calls under a given policy set and time taken to perform this operation. (count) |
|
Summary |
Rate of successful/unsuccessful policy evaluation calls under a given policy set and time taken to perform this operation. (total) |
|
Summary |
Rate of policy evaluation allowed/denied actions being returned under a given policy set (total). |
|
Summary |
Rate of policy evaluation allowed/denied actions being returned under a given policy set (count). |
|
Summary |
Rate of policy evaluation advice types being returned under a given policy set. |
|
Summary |
Rate of policy evaluation advice types being returned under a given policy set (count). |
|
Summary |
Rate of policy evaluation advice types being returned under a given policy set (total). |
Label | Values |
---|---|
|
Name of the action as specified in the policy, for example:
|
|
Name of the policy condition advice, for example:
|
|
|
|
Type of operation performed on the policy, for example:
|
|
Name of the policy set, for example:
|
|
Refer to Timer for |
Denylisting metrics
Advanced Identity Cloud exposes the following denylisting monitoring metrics:
Prometheus denylisting metrics
Name | Type | Description |
---|---|---|
|
Summary |
Tracks time to search CTS for denylist entries (count). |
|
Summary |
Rate of denylist entries returned by searches (count). |
|
Summary |
Rate of denylist entries returned by searches (total). |
|
Summary |
Tracks time to search CTS for denylist entries (count). |
|
Summary |
Tracks time to search CTS for denylist entries. |
|
Summary |
Rate of bloom filter denylist checks. |
|
Summary |
Rate of cache hits/misses of the denylist cache layer. |
|
Summary |
Rate of denylist checks. |
Label | Values |
---|---|
|
|
|
|
|
|
|
|
|
Refer to Timer for |
CTS metrics
Advanced Identity Cloud exposes the following CTS-related monitoring metrics:
Prometheus CTS metrics
Name | Type | Description |
---|---|---|
|
Summary |
Rate of successful/unsuccessful CTS operation types, by token type and time taken to perform them. |
|
Counter |
Tracks number of active create operations. |
|
Summary |
Rate of successful/unsuccessful CTS operation types, by token type and time taken to perform them (total). |
|
Summary |
Rate of successful/unsuccessful CTS operation types, by token type and time taken to perform them. |
Label | Values |
---|---|
|
|
|
|
|
Refer to Timer for |
|
|
|
|
OAuth 2.0 metrics
Advanced Identity Cloud exposes the following OAuth 2.0 monitoring metrics:
Prometheus OAuth 2.0 metrics
Name | Type | Description |
---|---|---|
|
Summary |
Rate of OAuth 2.0 grant completion by grant type (count). |
|
Summary |
Rate of OAuth 2.0 grant revocation for unknown grant types (count). |
|
Summary |
Rate of OAuth 2.0 grant revocation for unknown grant types (total). |
|
Summary |
Rate of OAuth 2.0 grant completion by grant type (total). |
|
Summary |
Rate of OAuth 2.0 token issuance by token type (count). |
|
Summary |
Rate of OAuth 2.0 token issuance by token type (total). |
|
Summary |
Rate of successfully/unsuccessfully reading OAuth 2.0 JSON Web Tokens (JWT) (count). |
|
Summary |
Rate of successfully/unsuccessfully reading OAuth 2.0 JSON Web Tokens (JWT) (total). |
|
Summary |
Rate of successfully/unsuccessfully reading OAuth 2.0 JSON Web Tokens (JWT). |
|
Summary |
Rate of OAuth 2.0 access token revocation (count) |
|
Summary |
Rate of OAuth 2.0 access token revocation (total) |
Label | Values |
---|---|
|
|
|
|
|
|
Session metrics
Advanced Identity Cloud exposes the following session-related monitoring metrics:
Prometheus session metrics
Name | Type | Description |
---|---|---|
|
Summary |
Rate of successful/unsuccessful sessions for idle/max timeout and time taken to perform this operation (count). |
|
Summary |
Number of cache hits/misses in the session cache (count). |
|
Summary |
Rate of evictions from the session cache. |
|
Summary |
Rate of evictions from the session cache (total). |
|
Gauge |
Number of sessions in the session cache. |
|
Summary |
Number of cache hits/misses in the session cache (total). |
|
Summary |
Rate of session lifetimes (count). |
|
Summary |
Lifetime of session, by session type (total). |
|
Summary |
Lifetime of session, by session type. |
|
Summary |
Rate of OAuth 2.0 grant completion by grant type (count). |
|
Summary |
Tracks service time for successful/unsuccessful sessions by operation and session type. |
|
Gauge |
Number of journey sessions stored in the in-memory authentication session store. |
|
Summary |
Rate of successful/unsuccessful sessions for idle/max timeout and time taken to perform this operation (total). |
Label | Values |
---|---|
|
|
|
|
|
|
|
|
|
|