Uploaded image for project: 'ENTSBT'
  1. ENTSBT
  2. ENTSBT-881

Prometheus export - can't disable metrics for endpoint

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 2.3.4.GA, 2.3.6.GA
    • None
    • None
    • False
    • False
    • Undefined

      Following manual export metrics using prometheu, to point 6.2 - 2.i. Using property:

      management.metrics.web.server.auto-time-requests=false
      

       should disable automatic metric generation for non-annotated endpoints. Only endpoints with a

      @Timed

      annotation should have metrics.

      But endpoints has the metrics generated even without the annotation. Comparing annotated and non-annoted endpoint's metrics show no difference.

              cmoullia Charles Moulliard
              mocenas@redhat.com Martin Ocenas
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: