pixie
pixie copied to clipboard
Graph grid line labels are repeated in `px/pod` script's graphs
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.
- All grid lines of Latency graph say
2s - In HTTP Requests and CPU usage graphs,
0.1label is added next to multiple grid lines
To Reproduce Steps to reproduce the behavior:
- 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}`);
});
- Send requests to it and view metrics from Pixie's
px/podscript
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