Comments (3)
Hey @wrn14897,
I've noticed records with no
type
having the same issue:Screenshot
Is it safe to assume every event with negative duration doesn't support it and should not be visible?My first idea was to modify the API response to return
null
or omit theduration
field, instead of a negative number. I'm not so sure anymore, this will require update on the UI anyways, and I don't think having a field that can be of typenumber
andstring
is great.I am thinking to have a check at the UI table. If the value is negative - display "N/A" or similar, otherwise - display the amount. Only for the
duration
field.Do you think we could do that? Is it okay if I work on it?
This negative number issue is a bit tricky since the 'duration' is a materialized column computed by 'timestamp' and 'end_timestamp' columns. For non log type of lines, the endTime is unix 0 and that's why you see a negative number. I think the right way is to make ingestor send the 'duration' instead of endTime. The quick fix for now is to set the endTime to be startTime if not specified so the duration is 0 (which makes sense for log). I think I can take this ticket and pull up the fix shortly. Really appreciate for the contribution.
from hyperdx.
Hey bpartridge,
Thanks for reporting the bug here. This particular line is actually a 'log' not 'span', which means it doesn't have duration. Normally, the span has level 'ok' or 'error'. UI wise, I agree we need to show the type to make it clear.
Since log doesn't have duration, the UI should not display anything in that regard. I'm going to file this ticket and this should be a quick fix. Thanks for the contribution.
from hyperdx.
Hey @wrn14897,
I've noticed records with no type
having the same issue:
Is it safe to assume every event with negative duration doesn't support it and should not be visible?
My first idea was to modify the API response to return null
or omit the duration
field, instead of a negative number. I'm not so sure anymore, this will require update on the UI anyways, and I don't think having a field that can be of type number
and string
is great.
I am thinking to have a check at the UI table. If the value is negative - display "N/A" or similar, otherwise - display the amount. Only for the duration
field.
Do you think we could do that? Is it okay if I work on it?
from hyperdx.
Related Issues (20)
- [HDX-166] Persist Bar Chart Display HOT 1
- [HDX-134] Metrics need to handle counter restarts and related edge cases better HOT 1
- [HDX-253] Persist Custom Columns HOT 5
- [HDX-410] Support Otel gRPC HOT 1
- /bin/sh: 1: poetry: not found
- will support as a syslog (tcp/udp)server? HOT 1
- add support logfile import? HOT 1
- Support for LLM observalibility HOT 3
- Logging and Tracing in WildFly server HOT 3
- Remix support HOT 2
- release windows version
- add docs/install/ vector?
- .env uses 1.1.2 image version for 1.1.3 HOT 1
- hdx-oss-dev-miner - /docker-entrypoint.sh: not found w/ solution
- Kubernetes deployment? HOT 2
- [HDX-104] Reset ChartSeriesForm state properly when switching states
- Release Sentry Integration (BETA) HOT 1
- [HDX-135] Add password requirements into registration UI HOT 1
- [HDX-130] Optimize Metric Tag Fetching
- [HDX-142] Support non numeric values for histogram HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hyperdx.