According to the documentation you can view the history of elevation requests by filtering the logs with this:
labels.event="api.activateRole"
This works well to view the logs. If I attempt to create a metric from this, configured with a "unit" of "1" and save it, the metric graph will show nothing even though I can go to the logs and perform a query and observe results.
Is anyone aware of how to create a metric that can monitor usage of this feature? It would be great to see a visual graph of usage and, potentially, send an alert each time it is used.
According to the documentation you can view the history of elevation requests by filtering the logs with this:
labels.event="api.activateRole"
This works well to view the logs. If I attempt to create a metric from this, configured with a "unit" of "1" and save it, the metric graph will show nothing even though I can go to the logs and perform a query and observe results.
Is anyone aware of how to create a metric that can monitor usage of this feature? It would be great to see a visual graph of usage and, potentially, send an alert each time it is used.