Prometheus targets
Scrape a Prometheus endpoint
We poll this endpoint on your schedule, parse the metrics exposition format, and ingest the samples as series you can chart and alert on.
failingdemo-target
http://localhost:1/metricsevery 60s· scraped Jul 12, 16:53:20 UTC · error: HttpExceptionRequest Request {
host = "localhost"
port = 1
secure = False
requestHeaders = [("User-Agent","haskell wreq-0.5.4.3")]
path = "/metrics"
queryString = ""
method = "GET"
proxy = Nothing
rawBody = False
redirectCount = 0
responseTimeout = ResponseTimeoutDefault
requestVersion = HTTP/1.1
proxySecureMode = ProxySecureWithConnect
}
(ConnectionFailure Network.Socket.connect: <socket: 119>: does not exist (Connection refused))
View metrics
Edit Prometheus target
Update how Monoscope scrapes this endpoint. Changes take effect on the next scrape.