カーネルの中で集約してからデータを取り出すので,固定インターバルでデータをとることになる.実際は1秒間隔でとっていて,それでリアルタイム性が十分なのかを言いたい.
PrometheusのUser Survey 2020があることを思い出して,簡単に分析をしていた.
<blockquote class="twitter-tweet" data-theme="dark" data-dnt="true" align="center"><p lang="en" dir="ltr">Thanks to the 139 people who have responded so far! To everyone else: please tell us how you are using Prometheus :)<br><br>(The results are public in <a href="https://t.co/0n4CN3GOsC">https://t.co/0n4CN3GOsC</a>)<a href="https://t.co/yvwGhfb7FM">https://t.co/yvwGhfb7FM</a></p>— Julius Volz (@juliusvolz) <a href="https://twitter.com/juliusvolz/status/1264930746529132545?ref_src=twsrc%5Etfw">May 25, 2020</a></blockquote>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
```jsx
=QUERY(I2:I211, "select I, count(I) group by I order by count(I) DESC", -1)
count
15 70
30 52
60 28
10 23
20 6
5 5
1 1
3 1
45 1
120 1
300 1
15967 1
```
15秒間隔を採用している利用者が最大で,次点で30秒.ほとんど5-60秒の間に収まる.15967はよくわからない.
- ユニークな系列数
- How many unique time series are currently being ingested across all of your Prometheus servers (counting HA servers separately)?
- max 200,000,000 200M
- 単一ホストの話ではない