)]}'
{
  "commit": "e8beaed8dcde2c198e91addb0baa884079363581",
  "tree": "8470b2dfe6a8017729083a4bb119c1d8f0b514d9",
  "parents": [
    "08fd1cb799ef2629a2da846584cd42fe2d6ecb35"
  ],
  "author": {
    "name": "Lorenz Brun",
    "email": "lorenz@monogon.tech",
    "time": "Wed Feb 05 22:03:50 2025 +0100"
  },
  "committer": {
    "name": "Lorenz Brun",
    "email": "lorenz@monogon.tech",
    "time": "Tue Feb 11 13:39:37 2025 +0000"
  },
  "message": "m/n/kubernetes: add metricsprovider\n\nKubernetes has a metrics provider interface, add an adapter to be able\nto get these into our Prometheus registry. This code exists in a similar\nform inside K8s but against their custom metrics architecture, not plain\nPrometheus.\n\nAs these metrics are shared across all workqueues we follow K8s in\nimplementing this with a singleton/global. It\u0027s not the prettiest, but\notherwise we may get issues with Prometheus and duplicate metrics.\n\nChange-Id: I0b6d608d14793e44859166a5a59d446c8f662a25\nReviewed-on: https://review.monogon.dev/c/monogon/+/3829\nReviewed-by: Tim Windelschmidt \u003ctim@monogon.tech\u003e\nTested-by: Jenkins CI\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "91a2f20099d17e425649586a30d6ea35c2bed24b",
      "old_mode": 33188,
      "old_path": "build/analysis/BUILD.bazel",
      "new_id": "ae0cd74bbbf9ebe0e927a5971f837240dd2b782d",
      "new_mode": 33188,
      "new_path": "build/analysis/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "16f773cd69711cff5f2b101778ac08ca14e9c5c0",
      "old_mode": 33188,
      "old_path": "metropolis/node/kubernetes/BUILD.bazel",
      "new_id": "636295cd63f28666f45376bb11464ff26d1057a6",
      "new_mode": 33188,
      "new_path": "metropolis/node/kubernetes/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "4bba439ebe4192a03af29676da6a67866a0a7ee9",
      "new_mode": 33188,
      "new_path": "metropolis/node/kubernetes/metricsprovider/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "23aa254d0a9df1e1ea07fc6e8a57b181dda9f7de",
      "new_mode": 33188,
      "new_path": "metropolis/node/kubernetes/metricsprovider/metricsprovider.go"
    },
    {
      "type": "modify",
      "old_id": "e65d39baf2cc669f40373b3e3624db1532e55dc0",
      "old_mode": 33188,
      "old_path": "metropolis/node/kubernetes/service_worker.go",
      "new_id": "6f6633bda08ee3df6dbddde31f05936b2a2876c7",
      "new_mode": 33188,
      "new_path": "metropolis/node/kubernetes/service_worker.go"
    }
  ]
}
