# Functions
No description provided by the author
# Constants
No description provided by the author
# Variables
Sets up the necessary metrics for calculating the Apdex Score If using Grafana for visualization connected to a Prometheus data source that is scraping these metrics, you can create a panel that uses the following queries + expressions for calculating the Apdex Score where T = 0.5: Query A: sum(catalogd_http_request_duration_seconds_bucket{code!~"5..",le="0.5"}) Query B: sum(catalogd_http_request_duration_seconds_bucket{code!~"5..",le="2"}) Query C: sum(catalogd_http_request_duration_seconds_count) Expression for Apdex Score: ($A + (($B - $A) / 2)) / $C.