Dab tsi yog khawb hauv Prometheus?
Dab tsi yog khawb hauv Prometheus?

Video: Dab tsi yog khawb hauv Prometheus?

Video: Dab tsi yog khawb hauv Prometheus?
Video: Как работает Prometheus Monitoring | Объяснение архитектуры Прометея 2024, Tej zaum
Anonim

Nyob rau Prometheus server sab, txhua lub hom phiaj (statically txhais, los yog dynamically nrhiav tau) yog scraped ntawm lub caij nyoog tsis tu ncua ( khawb luv). Txhua khawb nyeem cov / metrics kom tau txais lub xeev tam sim no ntawm tus neeg siv khoom ntsuas, thiab txuas ntxiv cov txiaj ntsig hauv Prometheus lub sij hawm-series database.

Ib yam li ntawd, dab tsi yog ntu ntu ntu ntawm Prometheus?

Prometheus khawb ntsuas los ntawm kev saib xyuas lub hom phiaj tsis tu ncua sib nrug , txhais los ntawm scrape_interval (defaults rau 1m). Cov khawb luv tuaj yeem teeb tsa thoob ntiaj teb, thiab tom qab ntawd hla dhau ib txoj haujlwm. Ntawm txhua qhov kev ntsuas ntsuas, Prometheus sau cov lus piav qhia hauv txhua txoj cai ceeb toom thiab hloov kho lub xeev ceeb toom.

Tom qab ntawd, lo lus nug yog, yog Prometheus rub lossis thawb? Cov thawb txoj hauv kev tau siv hauv cov kab ke xws li Graphite qhov twg zog txoj kev yog siv los ntawm kev saib xyuas zoo li Prometheus.

Hauv qhov no, Prometheus sau cov ntaub ntawv li cas?

Prometheus sau ntsuas los ntawm kev saib xyuas lub hom phiaj los ntawm scraping metrics HTTP qhov kawg ntawm cov hom phiaj no. Txij thaum Prometheus kuj nthuav tawm cov ntaub ntawv tib yam hais txog nws tus kheej, nws tseem tuaj yeem khawb thiab saib xyuas nws tus kheej kev noj qab haus huv. Rau ib tug ua tiav specification ntawm configuration xaiv, saib cov ntaub ntawv configuration.

Kev tshuaj xyuas Prometheus ua haujlwm li cas?

Cov Prometheus neeg rau zaub mov ua haujlwm ntawm lub hauv paus ntsiab lus ntawm kev khawb, piv txwv li, thov kom ntsuas qhov ntsuas ntawm qhov sib txawv ntawm qhov uas nws tau teeb tsa rau saib xyuas . Nws sau cov metrics ntawm ib ntus thiab khaws cia hauv zos. Cov nodes nthuav tawm cov no dhau ntawm cov ntsiab lus kawg uas Prometheus server scrapes.

Pom zoo: