Skip to content
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

[WIP] Parse query comments and pass metadata for max time query #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

yashmaheshwari
Copy link

  1. Parses block query comments for key-value pair
  2. Adds maxQueryCommentMetadata to class struct

Missing: Tests for parsing query comments

@yashmaheshwari yashmaheshwari force-pushed the yash/parse_query_comments_and_pass_metadata_for_max_time_query branch from 2cd8462 to dd8919f Compare October 8, 2020 19:43
@yashmaheshwari yashmaheshwari changed the title Yash/parse query comments and pass metadata for max time query [WIP] Parse query comments and pass metadata for max time query Oct 8, 2020
@yashmaheshwari yashmaheshwari force-pushed the yash/parse_query_comments_and_pass_metadata_for_max_time_query branch from dd8919f to ad96fd7 Compare October 8, 2020 20:12
lastDb string
sample bool
maxQueryTime float64
MaxQueryCommentMetadata map[string]string
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's call this just Metadata. The max query time stuff is something we do internally.

BoolMetrics map[string]bool // yes/no metrics
RateType string // Percona Server rate limit type
RateLimit uint // Percona Server rate limit value
CommentMetadata map[string]string
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above: just Metadata.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants