The value of the hits metric is not updated correctly or is reported with a delay

Solution Verified - Updated -

Issue

  • The value of hits in a certain time range, as returned by the usage API endpoint below, does not match the expected value.

    $ curl -X GET "https://<3SCALE ADMIN PORTAL>/stats/services/<SERVICE_ID>/usage.xml?access_token=<ACCESS_TOKEN>&metric_name=hits&since=`date +%d-%m-%Y`&period=<PERIOD>&granularity=<GRANULARITY>&timezone=<TIMEZONE>&skip_change=true"
    

Environment

  • Red Hat 3scale API Management Platform (3scale)
    • 2 On-premises

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content