Skip to content

Add metric name suggestion to json schema

Mikołaj Wawrzyniak requested to merge mwaw/add_validation_of_metric_names into master

What does this MR do?

It adds new attribute name into metrics definition YAML, and includes validation, that asserts that all prompts eg: <adjective describing: (enabled = TRUE)> left by automated name suggestions generator was resolved by developer creating metric definition.

Closes #323196

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Mikołaj Wawrzyniak

Merge request reports