Uploaded image for project: 'Hawkular'
  1. Hawkular
  2. HAWKULAR-491

Current metric names are problematic as URL/URI

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Critical Critical
    • None
    • 1.0.0.Alpha2, 1.0.0.Alpha3
    • None
    • None

      http://localhost:8080/hawkular/metrics/gauges/MI~R~[snert~Local~/]~MT~WildFly Memory Metrics~Heap Max/data is apparrently not a valid Java.net.URI (which is the mother of the java.net.URL, at least syntax-definition-wise)

      While [,],' ' can be encoded with %5b, %5d, %20 and so on, we should omit those characters that the URI format considers as "reserved"

            [HAWKULAR-491] Current metric names are problematic as URL/URI

            Are you proposing to limit just those mentioned characters or everything that has to be encoded? There are some plans in the metrics to reserve some characters as well in the metrics names for internal delimiters (and query language), such as "*", "|" and perhaps few others. But for example "/" should stay available, it's a common character in many naturally occurring metric names.

            Michael Burman (Inactive) added a comment - Are you proposing to limit just those mentioned characters or everything that has to be encoded? There are some plans in the metrics to reserve some characters as well in the metrics names for internal delimiters (and query language), such as "*", "|" and perhaps few others. But for example "/" should stay available, it's a common character in many naturally occurring metric names.

              Unassigned Unassigned
              pilhuhn Heiko Rupp
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: