Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-14826

Developer console custom user metrics not auto filling

XMLWordPrintable

    • Moderate
    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Developer console custom user metrics not auto filling 

      Version-Release number of selected component (if applicable):

       

      How reproducible:

      always

      Steps to Reproduce:

      use the following documentation to deploy an example service: 
      
      https://docs.openshift.com/container-platform/4.12/monitoring/managing-metrics.html#setting-up-metrics-collection-for-user-defined-projects_managing-metrics 
      
      the exposed metrics for the image used are documeted here: 
      
      https://github.com/rhobs/prometheus-example-app/pkgs/container/prometheus-example-app#exposed-prometheus-metrics 
      
      but I cannot search for the metrics from the developer console - the metrics do not auto fill when I start to type "http_" 
      
      but If I change the serviceMonitor from the one in the docs too: 
      
      
      ~~~apiVersion: monitoring.coreos.com/v1
      kind: ServiceMonitor
      metadata:
        labels:
          k8s-app: prometheus-example-monitor
        name: prometheus-example-monitor
        namespace: ns2
      spec:
        endpoints:
        - interval: 30s
        - path: /metrics
          port: http
          scheme: http
        selector:
          matchLabels:
            app: prometheus-example-app
      ~~~ 
      
      then I can search for the metrics from the console by typing "http_" 
      
      before editing the serviceMonitor the only metrics that I can search is "version" 
      
      
      

      Actual results:

      only some custom metrics auto fill 

      Expected results:

      the custom metrics auto fill

      Additional info:

      https://issues.redhat.com/browse/OBSDOCS-155 

            rhn-support-nigsmith Nigel Smith
            rhn-support-nigsmith Nigel Smith
            Sanket Pathak Sanket Pathak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: