-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
improvementEnhancement of existing functionalityEnhancement of existing functionality
Description
Summary
Monitoring configurations used with the Copilot should be validated/enchanced more.
Current behavior
Currently these files & configuration object offer very little help. There are only some limited suggestions for local scopes (Host, Host Group). In addition, the schemas used for generating the configuration objects are based on Dynatrace schema, not pure jsonSchema, meaning that VSCode will struggle to offer native validation and suggestions.
Proposed improvements
There are a series of improvements which can be made:
- Schemas used in generating configs should be converted (or augmented) with standard jsonSchema attributes so that VSCode can natively highlight discrepancies and offer suggestions
- Schemas should use
defaultSnippetsso writing them becomes faster with entire objects populated by VSCode - Schemas should offer suggestions for
featureSetsandvarsfrom the extension manifest. - Scope completion suggestions should be extended to cover ActiveGates and Management Zones if the API Token scope allows it
- Custom diagnostics should be employed when jsonSchema doesn't offer enough logic or a clearer message is needed than what's offered by jsonSchema (e.g. "Object matches a schema that is not allowed" - doesn't help fix the problem)
- Fix actions may be something to explore here
Metadata
Metadata
Assignees
Labels
improvementEnhancement of existing functionalityEnhancement of existing functionality