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

OPG-493: Fix mapping of subAttribute and datasource in Perf DS #1041

Merged
merged 2 commits into from
Jan 14, 2025

Conversation

synqotik
Copy link
Contributor

@synqotik synqotik commented Jan 13, 2025

NMS-16582 may be caused by the fact that subAttribute and datsource are not correctly mapped in OPG v9 for Performance queries.

This fixes the mapping from the OPG query builder UI (Sub-Attribute) and also changes the name from subAttribute to datasource for the query to OpenNMS Measurements Rest API. It also fixes the dashboard converter to map it correctly.

Additionally, we use a Python script check_jsonschema to validate our src/plugins.json file during the Circle CI build process. The schema file we use has some Python-regex specific formulations like \\- and \\%. Needed to add --regex-variant python to account for this; apparently the default is not to use those Python-specific regex elements.

External References

@synqotik synqotik merged commit 6d4f579 into release-9.x Jan 14, 2025
12 checks passed
@synqotik synqotik deleted the jira/OPG-493-fix-mapping-of-perfds-subattribute branch January 14, 2025 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants