Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-7032

remove prometheus requests in pod logs

    Details

    • Type: Improvement
    • Status: Done
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 7.0.0
    • Fix Version/s: Not applicable
    • Component/s: None
    • Labels:
    • Story Points:
      0

      Description

      Should it be possible to remove prometheus logs in ds docker image as it spams the log (one request every 30 seconds) and it is difficult to read it ?

      {"_id":"68f95b59-bc99-4e08-8120-dbf863458661-2612","timestamp":"2020-03-20T14:04:15.459Z","eventName":"DJ-HTTP","transactionId":"68f95b59-bc99-4e08-8120-dbf863458661-2611","client":\{"ip":"10.44.8.12","port":52022},"server":\{"ip":"10.44.62.3","port":8080},"http":{"request":{"secure":false,"method":"GET","path":"
      [http://10.44.62.3:8080/metrics/prometheus]
      ","headers":\{"accept":["application/openmetrics-text; version=0.0.1,text/plain;version=0.0.4;q=0.5,*/*;q=0.1"],"host":["10.44.62.3:8080"],"user-agent":["Prometheus/2.15.2"]}}},"response":\{"status":"SUCCESSFUL","statusCode":"200","elapsedTime":24,"elapsedTimeUnits":"MILLISECONDS"},"source":"audit","topic":"http-access","level":"INFO"}
      

      not sure about the need to log successful operations
      https://forgerock.slack.com/archives/G9KJUBHLY/p1584713348211100

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ludo Ludovic Poitou
                Reporter:
                guillaume.andru Guillaume Andru
                Dev Assignee:
                Ludovic Poitou
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: