Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-5688

Grafana dashboard names should not contain `_` or any non RFC 1123 characters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 1.11.0.Final
    • 1.10.0.Final
    • Core Engine
    • None
    • False
    • False
    • Undefined
    • Hide

      $ Install Kogito and Grafana Operator

      $ oc apply -f grafana.yaml

      $ oc apply -f kogito-runtime.yaml

      Check the Kogito-runtime status:

      $ oc get KogitoRuntime dmn-drools-quarkus-metrics -o yaml

      Show
      $ Install Kogito and Grafana Operator $ oc apply -f grafana.yaml $ oc apply -f kogito-runtime.yaml Check the Kogito-runtime status: $ oc get KogitoRuntime dmn-drools-quarkus-metrics -o yaml

    Description

      Grafana dashboard names should follow a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9][a-z0-9])?(
      .[a-z0-9]([-a-z0-9][a-z0-9])?)*')

      If not, this is failing to import dashboards in Grafana on Openshift.
      This is a restriction of the Grafana operator.

       

      Example `dmn-drools-quarkus-metrics` run locally: 

      curl http://localhost:8080/monitoring/dashboards/list.json

      [ "domain-dashboard-dmn-drools-quarkus-metrics_2.0.0-SNAPSHOT-Hello.json", "operational-dashboard-dmn-drools-quarkus-metrics_2.0.0-SNAPSHOT-hello.json", "operational-dashboard-dmn-drools-quarkus-metrics_2.0.0-SNAPSHOT-LoanEligibility.json", "domain-dashboard-dmn-drools-quarkus-metrics_2.0.0-SNAPSHOT-LoanEligibility.json" ]
      

      Attachments

        Activity

          People

            tradisso@redhat.com Tristan Radisson
            tradisso@redhat.com Tristan Radisson
            Marian Macik Marian Macik
            Marian Macik Marian Macik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: