)]}'
{
  "commit": "5dca444521d5669e71b246959ec51b4d21dc91b4",
  "tree": "460fc422017ebdb9cfa1ac267cece597d205641c",
  "parents": [
    "e199aa3eb8cc2495520b597c4888e8041d23eed3"
  ],
  "author": {
    "name": "Edwin Kempin",
    "email": "ekempin@google.com",
    "time": "Wed Jul 24 13:17:58 2024 +0000"
  },
  "committer": {
    "name": "Edwin Kempin",
    "email": "ekempin@google.com",
    "time": "Fri Jul 26 10:45:10 2024 +0000"
  },
  "message": "Disallow tracing configs that trigger tracing for too many requests\n\nMisconfigured tracing configs or tracing configs that are too broad can\ntrigger tracing for too many requests. This can badly impact the\nperformance and the availability of the server, if tracing makes\nrequests more expensive (e.g. if there are expensive logs that are only\nwritten when a request is traced).\n\nExamples for a misconfigured or trace configs that are too broad:\n* a tracing config that specifies neither of the match criteria (e.g. it\n  contains an unsupported parameter, which can happen is the parameter\n  has typo)\n* a tracing config that only specifies match criteria that are very\n  broad (e.g. requestType\u003dREST which would trigger tracing for all REST\n  requests)\n\nFix this by requiring that tracing configs specify at least one of\nrequestUriPattern, account and projectPattern.\n\nRelease-Notes: Disallowed tracing configs that trigger tracing for too many requests\nBug: Google b/355393231\nChange-Id: I9c9fac92f45e427087f7fe705169f73296c0b2c8\nSigned-off-by: Edwin Kempin \u003cekempin@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0c218c896effed0a8beca7e1f1c92bee42b4cf96",
      "old_mode": 33188,
      "old_path": "Documentation/config-gerrit.txt",
      "new_id": "f274a3e03ca5d6723bd9fb201a568f00bf7985f6",
      "new_mode": 33188,
      "new_path": "Documentation/config-gerrit.txt"
    },
    {
      "type": "modify",
      "old_id": "f942c5e89918a4aa7f464fe672b87f08956b136e",
      "old_mode": 33188,
      "old_path": "java/com/google/gerrit/server/RequestConfig.java",
      "new_id": "f3d3e511f79ad1242d5c4f59efceca7758778794",
      "new_mode": 33188,
      "new_path": "java/com/google/gerrit/server/RequestConfig.java"
    },
    {
      "type": "modify",
      "old_id": "6cc0982092b9f9b4c55ee07a84f48ba8f513a774",
      "old_mode": 33188,
      "old_path": "java/com/google/gerrit/server/TraceRequestListener.java",
      "new_id": "f99cc2d02023fe7f7d0beb2eee91169aa8e98754",
      "new_mode": 33188,
      "new_path": "java/com/google/gerrit/server/TraceRequestListener.java"
    },
    {
      "type": "modify",
      "old_id": "c675634c960905fbb768605d141a448ad461097c",
      "old_mode": 33188,
      "old_path": "javatests/com/google/gerrit/acceptance/rest/TraceIT.java",
      "new_id": "f8d3c6c0294db9cf4664f1521c6795eb6c73ea1f",
      "new_mode": 33188,
      "new_path": "javatests/com/google/gerrit/acceptance/rest/TraceIT.java"
    }
  ]
}
