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

[Bug]: JMX Conversion - Array has too many items #257

Open
2 of 4 tasks
andrewbreitfeld opened this issue Nov 18, 2024 · 2 comments
Open
2 of 4 tasks

[Bug]: JMX Conversion - Array has too many items #257

andrewbreitfeld opened this issue Nov 18, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@andrewbreitfeld
Copy link

andrewbreitfeld commented Nov 18, 2024

Description

Hello,

I am assisting a customer converting JMX 1.0 extensions to 2.0, noticing an issue with some of the visualizations being converted for a few of the 1.0 extensions (Dynatrace self-mon 1.0 extensions). Receiving the mention "Array has too many items. Expected 10 or fewer."

I have tried adding more subgroups to reduce the number of metrics reporting in each to be below 10. Also, I tried updating the screen.chart.metric.table.definition.schema maxItems mention without success.

Seeking some assistance for a workaround or if these visualizations essentially need to be deleted/recreated for 2.0?

Other details:
Customer is offline, don't have the ability to send/upload support archive to GitHub.
OS - Windows 10 Enterprise 22H2
MS VS Code - 1.92.2
Dynatrace Extension Add-on version - 2.6.1

Thanks,
Andrew

extension.txt

image

image

Steps to reproduce

  1. Following the standard 1.0 to 2.0 conversion process mentioned here https://developer.dynatrace.com/develop/dynatrace-extensions-vscode/guides/migrate/jmx-conversion/
  2. Added more subgroups to reduce metrics included to be 10 or less per category and tried editing the screen.chart.metric.table.definition.schema maxItems mention to see if that helped resolve the issue.

Support information

  • Screenshots
  • Extension manifest file
  • YAML snippets
  • Support archive (see here)
@andrewbreitfeld andrewbreitfeld added the bug Something isn't working label Nov 18, 2024
@radu-stefan-dt
Copy link
Collaborator

radu-stefan-dt commented Nov 19, 2024

Hi. Thanks for creating this bug. This is, indeed, an oversight in the extension conversion automation.

While we work on an official fix, please create more cards to accommodate a maximum of 10 metric per card. The subgroups part of the yaml will have no effect, it will be something that needs editing in metricTableCards.

@andrewbreitfeld
Copy link
Author

Hi Radu,
Thanks for taking a look at this and working on a future fix. Also, helping me better understand the best remediation for this. Appreciate it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants