-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat: display the number of queries in the past 7 days on each indexer card in the dashboard #837
Conversation
const sanitizedIndexerName = indexerName.replaceAll(".", "_"); | ||
const sanitizedAccountName = accountId.replaceAll(".", "_"); | ||
const fullFunctionName = sanitizedAccountName + "_" + sanitizedIndexerName; | ||
const tableName = `${fullFunctionName}_sys_logs_aggregate`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe we should using the file @eduohe has created?
…lay-the-number-of-queries-in-the-past-7-days-on-each-indexer-card-in-the-dashboard
@@ -1,11 +1,9 @@ | |||
const accountId = props.accountId || context.accountId; | |||
const indexerName = props.indexerName; | |||
const { accountId, indexerName, lastDeploymentDate, numDeployements, numQueries, originalDeploymentDate } = props; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to show originalDeploymentDate
in the card too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I belive this is more for internal use. Clarified with pavel
BOS component indexercard now queries past 7 day query count.