Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-19151

GitLab by HTTP not able to handle all data from /metrics

    XMLWordPrintable

Details

    • Patch request
    • Status: Closed
    • Trivial
    • Resolution: Duplicate
    • 5.2.5
    • None
    • Server (S), Templates (T)
    • None
    • Ubuntu 20.04, Zabbix 5.2.5 et GitLab 13.9.3
    • Team INT
    • Sprint 74 (Mar 2021), Sprint 75 (Apr 2021)

    Description

      Steps to reproduce:

      1. Install zabbix mysql server on ubuntu 20.04
      2. Import Template "customized" to add token authentication and real URL link
        1. Made from : https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/app/gitlab_http?at=refs%2Fheads%2Frelease%2F5.2
        2. default token anonymised
        3. added to request
      3. Associate to the gitlab vip or host
        1. fille the URL, TOKEN and PORT macros as wanted
      4. Try to test the the 3 metrics polled by Gitlab :
        1. it works for "GitLab: Application server status" and "GitLab: Instance readiness check"
        2. it doesn't work after 66108 caracters (bite vs byte we can imagine 65535) for "GitLab: Get instance metrics"

      Result:
      Json not parsed after 66108 caracters, See screenshot
      Expected:
      Check for not supported value or/and Prometheus to JSON preprocessing steps to accepte more than 66108 caracters from /metrics

      Attachments

        1. app_server_status_OK.PNG
          app_server_status_OK.PNG
          29 kB
        2. gitlab_metrics_OK.PNG
          gitlab_metrics_OK.PNG
          195 kB
        3. instance_metrics_NOK_00.PNG
          instance_metrics_NOK_00.PNG
          30 kB
        4. instance_metrics_NOK_01.PNG
          instance_metrics_NOK_01.PNG
          151 kB
        5. instance_readiness_check_OK.PNG
          instance_readiness_check_OK.PNG
          31 kB
        6. template_app_gitlab_http.yml
          51 kB

        Issue Links

          Activity

            People

              ychukina Yulia Chukina
              Andy M. Andy Magnoux
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: