Uploaded image for project: 'Network Observability'
  1. Network Observability
  2. NETOBSERV-1620

The traffic result is not accurate for a test app with a backend service outside ocp

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Normal Normal
    • None
    • None
    • None
    • None
    • False
    • None
    • False
    • NetObserv - Sprint 253

      Description of problem:

      I do a test following customer env, and the steps are recorded here: https://github.com/wangzheng422/docker_env/blob/dev/redhat/ocp4/4.14/4.14.net.observ.md . The RTT test is ok for several curl request. But when we do load test, we find the traffic number is not the same with pod metrics. It should be 10MB, but the network observability reports only 15KB. The problem is disccused in thread: https://redhat-internal.slack.com/archives/C01DMAD88JF/p1713963069451079
      

      Steps to Reproduce:

      1. create a test app which will call backend service. The test app will have a random delay, then call the backend service.
      2. create a backend service out side of the ocp. This backend service can handle concurrent request.
      3. create some traffic to the test app with 1000 concurrent request, can call backend with 8k file.
      

      Actual results:

      the network observability reports around 15KB, but the traffic is about 10MB
      

      Expected results:

      the number will be the same with pod metrics.

      Here is the test app I used. test.app.yaml Here is the concurrent backend service I used. httpdemo.py I use this command to simulate traffic

      siege -q -c 1000 http://wzh-demo-llm-demo.apps.osp-demo.wzhlab.top/sendRequest 

        1. httpdemo.py
          0.3 kB
        2. test.app.yaml
          1.0 kB

              Unassigned Unassigned
              zhengwan1@redhat.com Zheng Wang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: