Uploaded image for project: 'Hawkular Metrics'
  1. Hawkular Metrics
  2. HWKMETRICS-580

Multiple resource methods match request "GET /gauges/stats"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Deferred
    • Affects Version/s: 0.24.0
    • Fix Version/s: 0.25.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      {"MetricsService":"STARTED","Implementation-Version":"0.24.0-SNAPSHOT","Built-From-Git-SHA1":"7ce50ad2f582e7ac6b810b7c534da6dfaf62099e","Cassandra":"up"}

      Description

      After following command:
      curl -H "Authorization:Basic amRvZTpwYXNzd29yZA==" -H "Content-Type: application/json" -H "Hawkular-Tenant:perf-test" http://b24.jonqe.lab.eng.bos.redhat.com:8080/hawkular/metrics/gauges/stats?tags=testTag1:value1\&buckets=100\&percentiles=90

      h-metrics throw warning to server.log:
      2017-01-19 07:33:06,358 WARN [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-451) RESTEASY002142: Multiple resource methods match request "GET /gauges/stats". Selecting one. Matching methods: [public void org.hawkular.metrics.api.jaxrs.handler.GaugeHandler.getMetric(javax.ws.rs.container.AsyncResponse,java.lang.String), public void org.hawkular.metrics.api.jaxrs.handler.GaugeHandler.getStats(javax.ws.rs.container.AsyncResponse,java.lang.String,java.lang.String,java.lang.Boolean,java.lang.Integer,org.hawkular.metrics.model.param.Duration,org.hawkular.metrics.model.param.Percentiles,org.hawkular.metrics.model.param.Tags,java.util.List,java.lang.Boolean)]

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                burmanm Michael Burman
                Reporter:
                fbrychta Filip Brychta
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: