This repository was archived by the owner on Jan 22, 2025. It is now read-only.
Fix hostname part of queries in dashboard#3161
Merged
solana-grimes merged 1 commit intosolana-labs:masterfrom Mar 6, 2019
Merged
Fix hostname part of queries in dashboard#3161solana-grimes merged 1 commit intosolana-labs:masterfrom
solana-grimes merged 1 commit intosolana-labs:masterfrom
Conversation
pgarg66
commented
Mar 6, 2019
| "orderByTime": "ASC", | ||
| "policy": "autogen", | ||
| "query": "SELECT mean(\"packets_received\") as \"packets_received\" FROM \"$testnet\".\"autogen\".\"net-stats\" WHERE host_id =~ /$hostid/ AND $timeFilter GROUP BY time(5s) fill(null)\n\n\n\n", | ||
| "query": "SELECT mean(\"packets_received\") as \"packets_received\" FROM \"$testnet\".\"autogen\".\"net-stats\" WHERE hostname =~ /$hostid/ AND $timeFilter GROUP BY time(5s) fill(null)\n\n\n\n", |
Contributor
Author
There was a problem hiding this comment.
I thought about changing hostname to host_id in the net-stats and other scripts. That seems better approach, but it'll make older data format not parsable by the dashboard.
mvines
approved these changes
Mar 6, 2019
buffalojoec
pushed a commit
to buffalojoec/solana
that referenced
this pull request
Oct 15, 2024
Co-authored-by: Justin Starry <justin.m.starry@gmail.com>
Szymongib
pushed a commit
to ChorusOne/solana
that referenced
this pull request
Oct 28, 2024
…abs#3179) * Scheduler: Improve TTL (solana-labs#3161) Co-authored-by: Justin Starry <justin.m.starry@gmail.com> (cherry picked from commit 7b0a573) # Conflicts: # accounts-db/src/accounts.rs # core/src/banking_stage/consumer.rs # core/src/banking_stage/immutable_deserialized_packet.rs # core/src/banking_stage/latest_unprocessed_votes.rs # core/src/banking_stage/transaction_scheduler/scheduler_controller.rs # runtime/src/bank/address_lookup_table.rs * resolve conflicts --------- Co-authored-by: Andrew Fitzgerald <apfitzge@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The hostname part of some queries is looking up for the wrong keyword.
Summary of Changes
Change the keyword to match what's being stored in DB
Fixes #3156