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

Metrics Explorer - single-line graph only, no legends #1068

Merged
merged 2 commits into from
Oct 4, 2023

Conversation

pjfitzgibbons
Copy link
Contributor

Description

Modify Metric Explorer to display single-line graphs only, no legends

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

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.

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 },
Copy link
Collaborator

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?

Copy link
Contributor Author

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
Copy link

codecov bot commented Oct 4, 2023

Codecov Report

Merging #1068 (59016a4) into main (b3ba7eb) will increase coverage by 0.00%.
Report is 1 commits behind head on main.
The diff coverage is n/a.

@@           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            
Flag Coverage Δ
dashboards-observability 44.38% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 14 files with indirect coverage changes

Signed-off-by: Peter Fitzgibbons <peter.fitzgibbons@gmail.com>
attributesGroupBy.length === 0
? catalogTableName
: `${aggregation} by(${attributesGroupString}) (${catalogTableName})`;
// const promQuery =
Copy link
Member

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 ?

@pjfitzgibbons pjfitzgibbons merged commit 408d38f into main Oct 4, 2023
12 checks passed
@pjfitzgibbons pjfitzgibbons deleted the feature/metrics-explorer-no-multiline branch October 4, 2023 23:37
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 4, 2023
* 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>
pjfitzgibbons added a commit that referenced this pull request Oct 5, 2023
* 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>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 5, 2023
* 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>
mengweieric pushed a commit to mengweieric/dashboards-observability that referenced this pull request Oct 15, 2023
…ject#1068)

* Metrics Explorer - single-line graph only, no legends
---------

Signed-off-by: Peter Fitzgibbons <peter.fitzgibbons@gmail.com>
amsiglan pushed a commit to amsiglan/dashboards-observability that referenced this pull request Jun 7, 2024
…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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants