Details

    • Yes
    • Yes
    • [obsolete] C/S Core

    Description

      1. start stage instance with PG and your ssh key
      2. access stage via ssh
      3. execute "pmm-admin list" and get PG_SERVICE_NAME
      4. execute "docker stop {PG_SERVICE_NAME}"
      5. in pmm admin navigate to explore
      6. run query "pg_up{service_name='PG_SERVICE_NAME'}"

      Expected result: pg_up 0 and the graph shows line on 0 level;
      Actual result:  pg_up is null, and graph line ends on level 1
       
       
      Additionally:

      in "pmm inventory > agents" tab there is an agent id and  port  for a target Postresql Exporter. Execute to see that metric is there: 

      curl --silent -u "pmm:/agent_id/xxx" 'http://stage_ip:port/metrics' | grep 'pg_up'

      Workaround from anton.bystrov is to increase custom metric resolution "high" interval to 10 seconds.

      see automated test: https://github.com/percona/pmm-ui-tests/blob/PMM-9384-part2/tests/metrics/verifyPostgresql_test.js#L29

       

      Attachments

        1. 2022-01-08_00-51-36.png
          2022-01-08_00-51-36.png
          196 kB
        2. 2022-01-11_00-57-53.png
          2022-01-11_00-57-53.png
          235 kB
        3. image-2022-02-01-14-11-23-897.png
          image-2022-02-01-14-11-23-897.png
          78 kB
        4. image-2022-03-28-12-16-40-882.png
          image-2022-03-28-12-16-40-882.png
          147 kB
        5. image-2022-03-28-12-16-50-101.png
          image-2022-03-28-12-16-50-101.png
          149 kB
        6. image-2022-03-28-12-17-04-702.png
          image-2022-03-28-12-17-04-702.png
          148 kB
        7. image-2022-03-28-12-17-18-092.png
          image-2022-03-28-12-17-18-092.png
          147 kB
        8. image-2022-03-28-12-17-25-728.png
          image-2022-03-28-12-17-25-728.png
          100 kB
        9. image-2022-03-28-12-17-32-549.png
          image-2022-03-28-12-17-32-549.png
          100 kB
        10. image-2022-03-28-12-17-39-633.png
          image-2022-03-28-12-17-39-633.png
          101 kB
        11. image-2022-03-28-12-17-47-436.png
          image-2022-03-28-12-17-47-436.png
          100 kB

        Activity

          People

            nurlan.moldomurov Nurlan Moldomurov
            vadym.yarosh Vadym Yarosh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Smart Checklist