Aller au contenu
onsuggest
Connexion
Article en

Uncloud Prometheus, part II

Source: Miek Gieben ·

Had some fun playing with my fork of Uncloud . And making metrics work. Metrics are now part of Uncloud proper - uncloudplus can now drop it. In prometheus we use dns_sd_configs to pick up new things automatically: - job_name : uncloud dns_sd_configs : - names : [ "m.internal" ] type : A port : 51090 - job_name : caddy dns_sd_configs : - names : [ "caddy.internal" ] type : A port : 2019 For caddy metrics, we hack around a little… in the x-caddy file we deploy for Caddy add: metrics { per_host } But this serves metrics on localhost inside the container. So we need to export this, we can&

Raccourcis clavier

Découverte précédente
←P
Découverte suivante
→N
J'aime
L
Pas pour moi
X
Enregistrer
S
Afficher cette aide
?
Fermer
Esc

Les raccourcis fonctionnent sur la page des découvertes.