Uploaded image for project: 'MetaBrainz Hosting'
  1. MetaBrainz Hosting
  2. MBH-497

Add grafana statistic for number of CB review queries from MB

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Normal Normal
    • mrtg / webstats
    • None

      The CB team would like to know how many requests are being fetched (and their HTTP result code) from CritiqueBrainz to be displayed on the MusicBrainz. 

      The URL endpoint that we wish to count in the CritiqueBrainz access logs is /ws/1/review. For the example URL fetched by one of the MusicBrainz servers that looks like the following,

      https://critiquebrainz.org/ws/1/review?entity_id=03788388-8780-4c44-a019-f3dd440f8981

      We'd like increment the count for each request and its status for: 

      https://critiquebrainz.org/ws/1/review

      that originate from the musicBrainz servers. These should be broken down by HTTP status code, in particular 200, 404.

            zas Zas
            rob Robert Kaye
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package