Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-11572

Improve communication PMM to Platform

Details

    • Bug
    • Status: Open
    • Low
    • Resolution: Unresolved
    • 2.34.0
    • None
    • Telemetry
    • 1
    • Yes
    • Yes
    • No
    • Portal

    Description

      Proposing the following improvements:

      1. Using url.JoinPath instead of + operator here. Current implementation may lead to incorrect path building, e.g. it cannot handle leading and trailing slashes correctly or absent of them.
      2. If response not in json format we cannot parse it and reporting parsing error but not the original one. So the original error cannot be found in the logs. The code 
      3. Add more verbose debug-level logging, e.g. endpoint and body parameters.

      Attachments

        Activity

          People

            Unassigned Unassigned
            pavel.khripkov Pavel Khripkov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Smart Checklist