-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chronograf query does not return all records from per-program-timing table #19789
Comments
@axleiro can you please help me take a look? The data points exist so we should be able to query them |
@taozhu-chicago this is due to our |
Ryo is right here, after some R&D I found that the actual data inside the database regarding that particular “slot no.” is not 3 but only a single entry.. so the query is actually correctly fetching all the data that is present in database. We might have several cases like this |
Thanks @ryoqun @axleiro for looking into it. Would be nice to keep Influx's default |
Current datapoint_info! is apparently overwriting itself when run inside a loop. For example in https://github.com/solana-labs/solana/blob/005d6863f/core/src/window_service.rs#L101-L107 only one of the slots will show up in influxdb. This is apparently because of metrics code using milliseconds as the timestamp, as mentioned here: solana-labs#19789 (comment)
Current datapoint_info! is apparently overwriting itself when run inside a loop. For example in https://github.com/solana-labs/solana/blob/005d6863f/core/src/window_service.rs#L101-L107 only one of the slots will show up in influxdb. This is apparently because of metrics code using milliseconds as the timestamp, as mentioned here: solana-labs#19789 (comment)
I sent out #20623 to switch to nanoseconds, as this problem is impacting this metric as well: |
#20623) Current datapoint_info! is apparently overwriting itself when run inside a loop. For example in https://github.com/solana-labs/solana/blob/005d6863f/core/src/window_service.rs#L101-L107 only one of the slots will show up in influxdb. This is apparently because of metrics code using milliseconds as the timestamp, as mentioned here: #19789 (comment)
#20623) Current datapoint_info! is apparently overwriting itself when run inside a loop. For example in https://github.com/solana-labs/solana/blob/005d6863f/core/src/window_service.rs#L101-L107 only one of the slots will show up in influxdb. This is apparently because of metrics code using milliseconds as the timestamp, as mentioned here: #19789 (comment) (cherry picked from commit cd87525)
#20623) (#20659) Current datapoint_info! is apparently overwriting itself when run inside a loop. For example in https://github.com/solana-labs/solana/blob/005d6863f/core/src/window_service.rs#L101-L107 only one of the slots will show up in influxdb. This is apparently because of metrics code using milliseconds as the timestamp, as mentioned here: #19789 (comment) (cherry picked from commit cd87525) Co-authored-by: behzad nouri <[email protected]>
solana-labs#20623) Current datapoint_info! is apparently overwriting itself when run inside a loop. For example in https://github.com/solana-labs/solana/blob/005d6863f/core/src/window_service.rs#L101-L107 only one of the slots will show up in influxdb. This is apparently because of metrics code using milliseconds as the timestamp, as mentioned here: solana-labs#19789 (comment)
This issue has been automatically locked since there has not been any activity in past 7 days after it was closed. Please open a new issue for related bugs. |
Problem
Validator calls
datapoint_info()
to insert multiple records to same table within a millisecond, when querying InfluxDn, only the last insertion in query result.For example, from the log of validator that reports metrics to
tds
:within same millisecond, it added 3 records to
pre_program_timings
for slot93422612
with different values.when run query in chrnograf:
It only returns the last insertion.
The question is if all three records were added to InfluxDb but query only returns last one, or the database is gated somehow only the last insertion added to DB.
Proposed Solution
The text was updated successfully, but these errors were encountered: