If we are interested only in 99th percentile latencies, we could use this query:
prometheus_target_interval_length_seconds{quantile="0.99"}
위에서 언급한 prometheus_target_interval_length_seconds 의 개수를 세고 싶으면
count(prometheus_target_interval_length_seconds)
위처럼 count쓰면 된다.
저건 returned time series 세는 것
위를 execute하면 이런식으로 그래프를 보여준다.
Prometheus has a sophisticated local storage subsystem. For indexes, it uses LevelDB. For the bulk sample data, it has its own custom storage layer, which organizes sample data in chunks of constant size (1024 bytes payload). These chunks are then stored on disk in one file per time series.