Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-10111

missing statistics/analytics of products

    XMLWordPrintable

Details

    • False
    • None
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started

    Description

      User does not see any statistics at this page:

      https://_domain_/services/2/stats/usage#%7B%22dateRange%22:%7B%22period%22:%7B%22number%22:24,%22unit%22:%22hour%22%7D,%22granularity%22:%22hour%22%7D,%22selectedMetricName%22:%22hits%22,%22seriesTotal%22:0%7D
      

      and there is no statistics data in result of

      /stats/services/{service_id}/usage.{format}
      

      Cite rhn-support-dmayorov:

      From what I see the requests to Service management API do get processed by apisonator listener, and get put to the resque:queue:priority on Redis database 1
      2:55
      
      127.0.0.1:6379[1]> llen resque:queue:priority
      (integer) 1845
      
      127.0.0.1:6379[1]> lrange resque:queue:priority 1844 1845
      1) "{\"class\":\"ThreeScale::Backend::Transactor::ReportJob\",\"args\":[\"2\",{\"0\":{\"app_id\":\"a378076f\",\"usage\":{\"hits\":\"1\"},\"log\":null}},1693831878.884036,{\"request\":{\"extensions\":{}}}]}"
      

      but there are no keys like:

      KEYS "stats/*"
      (empty array)
      

      We see this bug in current Alpha build(master/main branches). It started to fail in builds from about 31st of August 2023

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mkudlej@redhat.com Martin Kudlej
              Martin Kudlej Martin Kudlej
              Eguzki Astiz Lezaun Eguzki Astiz Lezaun
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: