-
Notifications
You must be signed in to change notification settings - Fork 57
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
Metrics Explorer - single-line graph only, no legends #1068
Conversation
Signed-off-by: Peter Fitzgibbons <peter.fitzgibbons@gmail.com>
@@ -399,7 +396,7 @@ export const renderCatalogVisualization = async ({ | |||
layoutConfig: { | |||
height: 390, | |||
margin: { t: 5 }, | |||
legend: { orientation: 'h', yanchor: 'top', x: 0.0, y: -0.4 }, | |||
legend: { visible: false }, |
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.
why is the legend being removed here?
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.
Making a call for 2.11 to remove multi-line. The resulting legend is a single entry of {}
, which is not helpful.
So, just removing it.
Codecov Report
@@ Coverage Diff @@
## main #1068 +/- ##
========================================
Coverage 44.38% 44.38%
========================================
Files 322 325 +3
Lines 19239 19544 +305
Branches 4604 4659 +55
========================================
+ Hits 8539 8675 +136
- Misses 10656 10825 +169
Partials 44 44
Flags with carried forward coverage won't be shown. Click here to find out more. |
Signed-off-by: Peter Fitzgibbons <peter.fitzgibbons@gmail.com>
attributesGroupBy.length === 0 | ||
? catalogTableName | ||
: `${aggregation} by(${attributesGroupString}) (${catalogTableName})`; | ||
// const promQuery = |
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.
it the comment needed for future enhancements ?
* Metrics Explorer - single-line graph only, no legends --------- Signed-off-by: Peter Fitzgibbons <peter.fitzgibbons@gmail.com> (cherry picked from commit 408d38f) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Metrics Explorer - single-line graph only, no legends --------- (cherry picked from commit 408d38f) Signed-off-by: Peter Fitzgibbons <peter.fitzgibbons@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Peter Fitzgibbons <peter.fitzgibbons@gmail.com>
* Metrics Explorer - single-line graph only, no legends --------- Signed-off-by: Peter Fitzgibbons <peter.fitzgibbons@gmail.com> (cherry picked from commit 408d38f) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…ject#1068) * Metrics Explorer - single-line graph only, no legends --------- Signed-off-by: Peter Fitzgibbons <peter.fitzgibbons@gmail.com>
…ject#1068) (opensearch-project#1073) * Metrics Explorer - single-line graph only, no legends --------- (cherry picked from commit 408d38f) Signed-off-by: Peter Fitzgibbons <peter.fitzgibbons@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Peter Fitzgibbons <peter.fitzgibbons@gmail.com> (cherry picked from commit fe565f9)
Description
Modify Metric Explorer to display single-line graphs only, no legends
Issues Resolved
[List any issues this PR will resolve]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.