Meter node
The Meter node increments a specified metric key each time evaluation passes through the node.
The custom metric defined in this node is exposed in all available interfaces, as described in Monitor AM instances. This lets you monitor the metric over time to observe trends using monitoring tools such as Prometheus.
Example
The following example demonstrates using the Meter node in a multi-factor authentication (MFA) journey to track the number of times an OTP is requested via SMS:
-
The Page node containing the Platform Username node and Platform Password node prompts for credentials.
-
The Data Store Decision node validates the username-password credentials.
-
The HOTP Generator node generates an eight-digit OTP.
-
The Choice Collector node prompts the user to choose whether they want to receive the OTP via SMS or email.
-
If the user chooses SMS:
-
The Meter node increments the custom metric specified in the node configuration. For example, a metric called
custom.meter.otp.sms.requests. -
The OTP SMS Sender node sends the OTP to the user’s mobile number.
-
-
If the user chooses email, the OTP Email Sender node sends the OTP to the user’s email address.
-
-
The OTP Collector Decision node prompts the user to enter the OTP they received and verifies it. If the OTP is correct, the user is authenticated.
You can then monitor the custom.meter.otp.sms.requests metric over time to observe how many OTP requests are made via SMS.
Availability
| Product | Available? |
|---|---|
PingOne Advanced Identity Cloud |
Yes |
PingAM (self-managed) |
Yes |
Ping Identity Platform (self-managed) |
Yes |