CDIST-TYPE__PROMETHEUS_EXPORTER(7)
β¨ cdist-type__prometheus_exporter β¨
okay bestie, gather round, because this is the cdist manual page for cdist-type__prometheus_exporter (section 7, we're fancy like that) and it's literally about making your servers spill their little metrics secrets to Prometheus π
πΈ NAME πΈ
cdist-type__prometheus_exporter β install some Prometheus exporters, no cap π
π¦ DESCRIPTION π¦
So what this type does is install and configure some exporters so your Prometheus monitoring setup (that's https://prometheus.io/ btw, go look at it, it's iconic) can actually see what's going on. π
Here's the tea: this type creates a daemontools-compatible service directory right under /service/$__object_id. Which meansβ¦ daemontools (or something compatible with it) has to already be installed, okay? And specifically, the command svc must be executable β like, non-negotiable. If it's not, this whole thing is giving nothing. π
Also!! This type installs and builds the latest version straight from git, using go get. So you need a recent version of golang hanging around, plus build tools (make, g++, etc.). Yes bestie, actual compiler energy. π₯
Currently supported exporters, in a cute little list:
nodeblackboxceph
π REQUIRED PARAMETERS π
None. Nothing. Zero. Zilch. You're free, you're unburdened, it's giving main character with no homework. π«Ά
β¨ OPTIONAL PARAMETERS β¨
exporterβ which exporter you want installed and configured. Default is$__object_id(she's self-referential like that π). Currently supported:node,blackbox,ceph.
π BOOLEAN PARAMETERS π
add-consul-serviceβ adds this exporter as a Consul service so you get automatic service discovery. Set it and forget it, automatic bestie behaviour. π
β EXAMPLES β
okay here's the whole vibe, verbatim, don't @ me:
__daemontools
__golang_from_vendor --version 1.9 # required for prometheus and many exporters
require="__daemontools __golang_from_vendor" __prometheus_exporter node
see how __golang_from_vendor --version 1.9 is marked as required for prometheus and many exporters? yeah. heed that. π
π₯ SEE ALSO π₯
cdist-type__daemontools(7)cdist-type__golang_from_vendor(7)cdist-type__prometheus_server(7)- Prometheus documentation: https://prometheus.io/docs/introduction/overview/
go read them, iykyk π§
π AUTHORS π
Kamila SouΔkovΓ‘ <kamila--@--ksp.sk> β absolute legend, we stan π«Ά
π COPYING π
Copyright (C) 2017 Kamila SouΔkovΓ‘. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. fr fr, that's the license, respect it. π
πΈ COPYRIGHT πΈ
ungleich GmbH 2021
and that's the whole page bestie!! this one's version 7.0.0, dated Jul 31, 202 (the footer got its little number cut off mid-sentence, but that's literally what it says π), and it came to you courtesy of the cdist crew. mwah, go monitor something πβ¨π
π¦ where this page comes from
- fedora 43: cdist 7.0.0-16.fc43 Β· GPL-3.0-only
- fedora 44: cdist 7.0.0-18.fc44 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms