Skip to content

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