pixie icon indicating copy to clipboard operation
pixie copied to clipboard

Graph grid line labels are repeated in `px/pod` script's graphs

Open nilushancosta opened this issue 3 years ago • 0 comments

Describe the bug When I opened the px/pod script in the Pixie console, the grid line labels of graphs were repeated. See the screenshot below.

  1. All grid lines of Latency graph say 2s
  2. In HTTP Requests and CPU usage graphs, 0.1 label is added next to multiple grid lines Screenshot 2022-10-24 at 17 51 10

To Reproduce Steps to reproduce the behavior:

  1. Deploy a program with high latency. I experienced the issue with the following NodeJs program
const express = require('express');
const app = express();
const port = 9090;

function sleep(ms) {
  return new Promise(resolve => setTimeout(resolve, ms));
}

app.get('/', async (req, res) => {
  await sleep(2000);
  res.send('Hello World!');
});

app.listen(port, () => {
  console.log(`App listening on port ${port}`);
});
  1. Send requests to it and view metrics from Pixie's px/pod script

Expected behavior Same label should not be shown against multiple grid lines

Screenshots Added above

Logs N/A

App information (please complete the following information):

  • Pixie version: Vizier version 0.12.2
  • K8s cluster version: v1.23.12
  • Node Kernel version
  • Browser version: Google Chrome V 106

Additional context N/A

nilushancosta avatar Oct 24 '22 12:10 nilushancosta