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

[O11y][IBM MQ] Lens migration for visualizations to Kibana version 8.5.0 #5495

Merged

Conversation

rajvi-patel-22
Copy link
Contributor

@rajvi-patel-22 rajvi-patel-22 commented Mar 9, 2023

  • Enhancement

What does this PR do?

  • Migrate visualizations to lens for IBM MQ integration package

  • Statistics for IBM MQ Lens migration:

IBM MQ dashboard Before Migration   After Migration    
  Lens Visualization Lens Visualization New Control Panel
[Metrics IBM MQ] Subscriptions Overview 0 7 7 0 0
[Logs IBM MQ] Overview of error log 0 7 5 1 1
[Metrics IBM MQ] Calls Overview 0 11 11 0 0
[Metrics IBM MQ] Messages Overview 0 12 12 0 0
  0 37 35 1 1

Note: One visualization is migrated to new input controls.

Below visualization is not migrated to the lens

Dashboard  Visualisation Name Link to the issue
[Logs IBM MQ] Overview of error log Top 5 Errors [Logs IBM MQ]  #5662

Checklist

  • I have added an entry to my package's changelog.yml file.
  • I have verified that panels are populated with data.
  • I have verified that panels are not distorted after being migrated to lens.
  • I have updated screenshots of dashboard.
  • I have verified that data count are matching and panel aggregations are same as before.

Author's Checklist

  • Migrated panels should be removed from visualization folder.
  • Migrated visualizations are populating in current Kibana version 8.5.0 itself.

Related issues

Issues Identified

@rajvi-patel-22 rajvi-patel-22 requested a review from a team as a code owner March 9, 2023 14:35
@rajvi-patel-22 rajvi-patel-22 changed the title lens migration of ibmmq to 8.5.0 [O11y][IBM MQ] Lens migration for visualizations to Kibana version 8.5.0 Mar 9, 2023
@rajvi-patel-22 rajvi-patel-22 mentioned this pull request Mar 9, 2023
6 tasks
@elasticmachine
Copy link

elasticmachine commented Mar 9, 2023

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2023-03-23T12:23:05.279+0000

  • Duration: 17 min 41 sec

Test stats 🧪

Test Results
Failed 0
Passed 14
Skipped 0
Total 14

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

@elasticmachine
Copy link

elasticmachine commented Mar 9, 2023

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (2/2) 💚
Files 100.0% (2/2) 💚
Classes 100.0% (2/2) 💚
Methods 100.0% (20/20) 💚
Lines 98.904% (451/456) 👍 3.709
Conditionals 100.0% (0/0) 💚

@kush-elastic kush-elastic added enhancement New feature or request v8.5.0 Team:Service-Integrations Label for the Service Integrations team labels Mar 10, 2023
Copy link
Collaborator

@kush-elastic kush-elastic left a comment

Choose a reason for hiding this comment

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

LGTM!

@agithomas
Copy link
Contributor

The issue of 'The text type field is not supported in table type visualizations of Lens. Hence, we have removed Description field from the table.' is a blocker to me.

Removing a field may not be the best option. We may then retain the old viz panel that supports text data. Please create a backlog issue to migrate this panel in future.

@rajvi-patel-22
Copy link
Contributor Author

Removing a field may not be the best option. We may then retain the old viz panel that supports text data. Please create a backlog issue to migrate this panel in future.

@agithomas, We have reverted the changes to the old visualization and created the issue to migrate the Top 5 Errors [Logs IBM MQ] panel in future.

@agithomas
Copy link
Contributor

@agithomas, We have reverted the changes to the old visualization and created the issue to migrate the Top 5 Errors [Logs IBM MQ] panel in future.

Please update the summary chart on how many vis are not migrated.

@agithomas
Copy link
Contributor

Last bucket empty is a common problem seen across multiple dashboards. @SubhrataK , kindly confirm if this problem is a blocker for vis migration to Lens. Hope you can clarify this today. This clarification is a blocker for multiple integration tasks.

@rajvi-elastic , if this is a blocker, kindly revert the migration for these panels to Lens and update the summary chart.

@rajvi-patel-22
Copy link
Contributor Author

Please update the summary chart on how many vis are not migrated.

@agithomas, I have updated the summary below migration stat table. Please let me know if anything else needs to be added.

@agithomas
Copy link
Contributor

Please update the summary chart on how many vis are not migrated.

@agithomas, I have updated the summary below migration stat table. Please let me know if anything else needs to be added.

Please update in the PR description as well : #5495 (comment)

@SubhrataK
Copy link

Last bucket empty is a common problem seen across multiple dashboards. @SubhrataK , kindly confirm if this problem is a blocker for vis migration to Lens. Hope you can clarify this today. This clarification is a blocker for multiple integration tasks.

@agithomas and @rajvi-elastic IMO, this should not be a blocker. As a user, it shows a legend for me and I can hover and see the values. Also, this is only in the case where the last bucket values are zero in area and line charts (bar charts are fine).
Infact, the point that it shows the values in the last bucket would have been slightly confusing, as I would have expected it to show an aggregate of the values over the selected time range. There is another discussion thread on what data should be displayed, here: elastic/kibana#101353.
However, there has to be a consistency in the values displayed in the different charts, and that has been raised as a bug.

I suggest we go ahead and migrate the visualizations.

@rajvi-patel-22
Copy link
Contributor Author

Please update in the PR description as well : #5495 (comment)

@agithomas I have added the table for panels that are not migrated to the lens. Can you please check? #5495 (comment)

@agithomas
Copy link
Contributor

Please update in the PR description as well : #5495 (comment)

@agithomas I have added the table for panels that are not migrated to the lens. Can you please check? #5495 (comment)

@rajvi-elastic , please check below. I was referring to this table. If certain visualisation is not migrated to Lens, i expect certain count under Visualisation not equal to 0, after migration. Or, is my understanding incorrect?

With Subrata's clarification, i believe, the last bucket issue is not longer a concern. So, please unlink to referrences to Lens original issue from all the applicable Lens migration issues

image

@rajvi-patel-22
Copy link
Contributor Author

rajvi-patel-22 commented Mar 28, 2023

@rajvi-elastic , please check below. I was referring to this table. If certain visualisation is not migrated to Lens, i expect certain count under Visualisation not equal to 0, after migration. Or, is my understanding incorrect?

@agithomas My bad! Updated the table and removed the last bucket issue link from the PR and meta issue as well.

@agithomas
Copy link
Contributor

@rajvi-elastic ,i see that there is a steep jump in the kibana version from 8.2.0 to 8.5.0. With some of the changes made , does the change to 8.5.0 still needed. If yes, why?

@rajvi-patel-22
Copy link
Contributor Author

@rajvi-elastic ,i see that there is a steep jump in the kibana version from 8.2.0 to 8.5.0. With some of the changes made , does the change to 8.5.0 still needed. If yes, why?

Yes @agithomas. Please find the below analysis for [Metrics IBM MQ] Calls Overview dashboard which shows the minimum version and the functionality that has been used for the panels.

Visualization Name Minimum kibana version Functionality used
MQCB calls succeeded/failed [Metrics IBM MQ] 8.5.0 Adds the ability to show the metric name if there are multiple layers with breakdowns in Lens
MQCLOSE calls succeeded/failed [Metrics IBM MQ] 8.5.0 Adds the ability to show the metric name if there are multiple layers with breakdowns in Lens
MQCONN/MQCONNX calls succeeded/failed [Metrics IBM MQ] 8.5.0 Adds the ability to show the metric name if there are multiple layers with breakdowns in Lens
MQDISC calls succeeded [Metrics IBM MQ]MQDISC calls succeeded [Metrics IBM MQ] 8.2.0 include empty rows
MQCTL calls succeeded [Metrics IBM MQ] 8.2.0 include empty rows
MQSTAT calls succeeded [Metrics IBM MQ] 8.2.0 include empty rows
MQCTL calls succeeded [Metrics IBM MQ] 8.2.0 include empty rows
MQOPEN calls succeeded/failed [Metrics IBM MQ] 8.5.0 Adds the ability to show the metric name if there are multiple layers with breakdowns in Lens
MQINQ calls succeeded/failed [Metrics IBM MQ] 8.5.0 Adds the ability to show the metric name if there are multiple layers with breakdowns in Lens
MQSET calls succeeded/failed [Metrics IBM MQ] 8.5.0 Adds the ability to show the metric name if there are multiple layers with breakdowns in Lens
MQSUBRQ calls succeeded/failed [Metrics IBM MQ] 8.5.0 Adds the ability to show the metric name if there are multiple layers with breakdowns in Lens

@agithomas
Copy link
Contributor

@rajvi-elastic ,i see that there is a steep jump in the kibana version from 8.2.0 to 8.5.0. With some of the changes made , does the change to 8.5.0 still needed. If yes, why?

Yes @agithomas. Please find the below analysis for [Metrics IBM MQ] Calls Overview dashboard which shows the minimum version and the functionality that has been used for the panels.

Visualization Name Minimum kibana version Functionality used
MQCB calls succeeded/failed [Metrics IBM MQ] 8.5.0 Adds the ability to show the metric name if there are multiple layers with breakdowns in Lens
MQCLOSE calls succeeded/failed [Metrics IBM MQ] 8.5.0 Adds the ability to show the metric name if there are multiple layers with breakdowns in Lens
MQCONN/MQCONNX calls succeeded/failed [Metrics IBM MQ] 8.5.0 Adds the ability to show the metric name if there are multiple layers with breakdowns in Lens
MQDISC calls succeeded [Metrics IBM MQ]MQDISC calls succeeded [Metrics IBM MQ] 8.2.0 include empty rows
MQCTL calls succeeded [Metrics IBM MQ] 8.2.0 include empty rows
MQSTAT calls succeeded [Metrics IBM MQ] 8.2.0 include empty rows
MQCTL calls succeeded [Metrics IBM MQ] 8.2.0 include empty rows
MQOPEN calls succeeded/failed [Metrics IBM MQ] 8.5.0 Adds the ability to show the metric name if there are multiple layers with breakdowns in Lens
MQINQ calls succeeded/failed [Metrics IBM MQ] 8.5.0 Adds the ability to show the metric name if there are multiple layers with breakdowns in Lens
MQSET calls succeeded/failed [Metrics IBM MQ] 8.5.0 Adds the ability to show the metric name if there are multiple layers with breakdowns in Lens
MQSUBRQ calls succeeded/failed [Metrics IBM MQ] 8.5.0 Adds the ability to show the metric name if there are multiple layers with breakdowns in Lens

@lalit-satapathy / @rameshelastic please advice here. Is it Ok to migrate to 8.5.0 .

Copy link
Contributor

@agithomas agithomas left a comment

Choose a reason for hiding this comment

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

LGTM!

@kush-elastic kush-elastic merged commit bde6789 into elastic:main Apr 6, 2023
@elasticmachine
Copy link

Package ibmmq - 0.4.0 containing this change is available at https://epr.elastic.co/search?package=ibmmq

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Team:Service-Integrations Label for the Service Integrations team v8.5.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants