Prometheus puas tuaj yeem saib xyuas cov cav?
Prometheus puas tuaj yeem saib xyuas cov cav?

Video: Prometheus puas tuaj yeem saib xyuas cov cav?

Video: Prometheus puas tuaj yeem saib xyuas cov cav?
Video: Monitor Nginx metrics using Prometheus and Grafana (realtime count http requests by status code) 2024, Hlis ntuj nqeg
Anonim

Extracting Prometheus Kev Ntsuas los ntawm Cov Ntawv Teev Npe. Prometheus yog qhov qhib-qhov system saib xyuas thiab ceeb toom cuab yeej. Ntawm nws qhov tseem ceeb, Prometheus siv cov ntaub ntawv teev sijhawm, thiab muab lub zog zoo nug lus los soj ntsuam cov ntaub ntawv. Feem ntau Prometheus kev xa tawm integrate Grafana dashboards thiab tus thawj tswj ceeb toom.

Tib neeg kuj nug, kuv tuaj yeem saib xyuas nrog Prometheus li cas?

Prometheus muab cov tsev qiv ntawv rau cov neeg siv khoom hauv ntau hom lus uas koj tuaj yeem siv los muab kev noj qab haus huv ntawm koj daim ntawv thov. Tab sis Prometheus tsis yog hais txog kev thov xwb saib xyuas , koj tuaj yeem siv qee yam hu ua Exporters rau saib xyuas cov txheej txheem thib peb (Xws li Linux Server, MySQL daemon thiab lwm yam).

Ib qho ntxiv, yog siv los thawb cav mus rau hauv Prometheus? Cov lus teb luv: Tsis txhob! Siv qee yam zoo li pawg ELK hloov chaw. Cov lus teb ntev dua: Prometheus yog ib qho system los sau thiab ua cov metrics, tsis yog ib qho xwm txheej kaw lus lawv.

Tom qab ntawd, lo lus nug yog, Kuv yuav saib xyuas Prometheus ntawm nws tus kheej li cas?

Peb yuav tsum tau muab qee txoj hauv kev rau saib xyuas uas "tsuas yog" ib qho Prometheus , tej zaum: Muab lub dashboard saib cov xwm txheej ntawm Prometheus , xws li: https://grafana.com/dashboards/3662. Tso cai rau kev teeb tsa replicated Prometheus raws li qhov txias tos. Ua ntej txhais qee qhov tawm ntawm lub npov ua raws cov cai nruj heev.

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.

Pom zoo: