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

    • Icon: Patch request Patch request
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • 5.2.5
    • 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)

      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

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

            ychukina Yulia Chukina (Inactive)
            Andy M. Andy Magnoux
            Team INT
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: