You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The previous Java enforcer required the JMX of Prometheus in order for Prometheus metrics to be published.
In addition to OS level metrics, custom metrics for token issuer count and subscription count were also created.
Since the current enforcer is now in Golang, the following changes need to be made to support Prometheus in the enforcer
Update the template files for the gateway deployment and jmx config map since that logic is now unnecessary
Add custom metrics for token_issuer_count and subscription_count
Use the common-go-libs prometheus collector to arrange for Prometheus metrics collection
Additionally, the Grafana dashboard for the enforcer will also need to be updated since it currently scrapes data from the ext_authz keys. Therefore the relevant Prometheus queries need to be updated, along with updating the OS level metric keys from JVM to the go runtime.
Problem
The new go enforcer needs updated Prometheus implementation.
Solution
Implement logic for pushing metrics to Prometheus from go enforcer
Update template files with the correct values
Affected Component
Enforcer
Version
No response
Implementation
No response
Related Issues
No response
Suggested Labels
No response
The text was updated successfully, but these errors were encountered: