Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-1209

DOCUMENTATION ISSUE - Incorrect scrape_configs in the prometheus.yaml configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 7.5.1.GA
    • Documentation
    • None
    • The yaml provided in the documentation has incorrect yaml indentations, typo errors and missing list marker (hyphen)

      The section 13.1 in the documentation https://access.redhat.com/documentation/en-us/red_hat_decision_manager/7.5/html/managing_and_monitoring_decision_server/prometheus-monitoring-con_execution-server#prometheus-monitoring-proc_execution-server, point 3 under "Procedure", the provided yaml config has incorrect indentations, typo errors and missing list marker

      As-is config (Incorrect):

      scrape_configs:   job_name: 'kie-server'
      metrics_path: /SERVER_PATH/services/rest/metrics
      Basic_auth: username: USER_NAME
      password: PASSWORD
      static_configs:   - targets: ["HOST:PORT"]{color}
      

      A correct/working yaml configuration should be.

      scrape_configs: - job_name: 'kie-server'
        metrics_path: /SERVER_PATH/services/rest/metrics
        basic_auth:     username: USER_NAME
          password: PASSWORD
        static_configs:     - targets: ["HOST:PORT"]
      

              viyengar@redhat.com Vidya Iyengar
              balki404 Balakrishnan Balasubramanian
              Jan Stastny Jan Stastny
              Jan Stastny Jan Stastny
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: