| commit | e8beaed8dcde2c198e91addb0baa884079363581 | [log] [tgz] |
|---|---|---|
| author | Lorenz Brun <lorenz@monogon.tech> | Wed Feb 05 22:03:50 2025 +0100 |
| committer | Lorenz Brun <lorenz@monogon.tech> | Tue Feb 11 13:39:37 2025 +0000 |
| tree | 8470b2dfe6a8017729083a4bb119c1d8f0b514d9 | |
| parent | 08fd1cb799ef2629a2da846584cd42fe2d6ecb35 [diff] |
m/n/kubernetes: add metricsprovider Kubernetes has a metrics provider interface, add an adapter to be able to get these into our Prometheus registry. This code exists in a similar form inside K8s but against their custom metrics architecture, not plain Prometheus. As these metrics are shared across all workqueues we follow K8s in implementing this with a singleton/global. It's not the prettiest, but otherwise we may get issues with Prometheus and duplicate metrics. Change-Id: I0b6d608d14793e44859166a5a59d446c8f662a25 Reviewed-on: https://review.monogon.dev/c/monogon/+/3829 Reviewed-by: Tim Windelschmidt <tim@monogon.tech> Tested-by: Jenkins CI
This is the main repository containing the source code for the Monogon Platform.
This is pre-release software - take a look, and check back later! In the meantime, join us on Matrix (#monogon-os-community:matrix.org) or Discord.
Our build environment is self-contained and requires only minimal host dependencies:
/dev/kvm (if you want to run tests).Our docs assume that Bazelisk is available as bazel on your PATH.
Refer to SETUP.md for detailed instructions.
The source code lives in //metropolis (Metropolis is the codename of Monogon OS).
See the //metropolis/README.md for a developer quick start guide, or see the Monogon OS Handbook for user documentation.