diff --git a/documentation/images/internal_architecture.jpg b/documentation/images/internal_architecture.jpg deleted file mode 100644 index bc7c300a7..000000000 Binary files a/documentation/images/internal_architecture.jpg and /dev/null differ diff --git a/documentation/images/internal_architecture.svg b/documentation/images/internal_architecture.svg new file mode 100644 index 000000000..5948186a7 --- /dev/null +++ b/documentation/images/internal_architecture.svg @@ -0,0 +1,2 @@ + +
Fanout Storage
Fanout Storage
read/write
series data 
[Not supported by viewer]
Local
Storage
Local<br>Storage
disk
disk
write series data
write series data
Remote Storage
Remote Storage
send
alerts
[Not supported by viewer]
append rule results
append rule results
Rule Manager
Rule Manager
Notifier
Notifier
discover Alertmanager targets
discover Alertmanager targets
Notifier Discovery
Notifier Discovery
update
Alertmanager
targets
[Not supported by viewer]
Alertmanagers
Alertmanagers
send
alerts
[Not supported by viewer]
read/write
series data
[Not supported by viewer]
scrape
metrics
[Not supported by viewer]
Scrape Manager
Scrape Manager
append 
samples 
[Not supported by viewer]
update scrape targets
[Not supported by viewer]
discover scrape targets
discover scrape targets
Scrape Discovery
Scrape Discovery
query
query
PromQL
[Not supported by viewer]
read series data
read series data
Remote Read Endpoints
Remote Read Endpoints<br>
Remote Write Endpoints
Remote Write Endpoints
Targets
Targets
Service Discovery
Service Discovery
Web API/UI
Web API/UI
query
query
PromQL
[Not supported by viewer]
Reload Handler
Reload Handler
Termination
Handler
Termination<br>Handler<br>
(most other
components)
[Not supported by viewer]
reload
reload
terminate
terminate<br>
view/control
view/control
view/control
view/control
Web Clients
Web Clients
Prometheus Server
<b>Prometheus Server</b>
\ No newline at end of file diff --git a/documentation/images/internal_architecture.xml b/documentation/images/internal_architecture.xml new file mode 100644 index 000000000..4541c1c97 --- /dev/null +++ b/documentation/images/internal_architecture.xml @@ -0,0 +1 @@ +7VxZd5s4FP41PmfmITksZvFjkqbLOelMpumcTh8xyDZTjCjIWfrrR4CEQVfY4Ahsd5o+1L6AEHf57oon5s36+V3qJauPOEDRxNCC54n5ZmIY+tSw6X855aWkzDSrJCz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ejO0qkOO4JRNCL4V57+wofga638uRlvmiNEPjCk/t+QTZ8ZVCgxCVKlP7dH4asOo8gGlj6E/ZLA+Oo+nAhaPyWHXfq1XF9oDmtN0hlP+9Z6GEnR7ucPd9lVPrW3ACi7dJFx35Y5kwspV7su7StWBZecvaE4JV/cf6LV/f1BtMiMU8mdCfDyr0t0RzMSBMcxg6W2/l15O0oyqyPrACP119SZnCm3xaAmwAwfSfiXAMvvWzaYXlBv4UCkw79wqfWFNeEf0Ujeb9utUvvJsnSNUiPyHQiQqpBV/XU3YPSl36kJ3+glFuEhd33txEJ1lZ1xwqGO+SzqD+dIA5idYnykUh92zMr7KczbM7/B6tLz8vMJp+IP6EY9vs5u1SiYOj2itcLz+M0rXYewVPAAVpsqChy49HcGm7fFCZBeGyL+tcZZHOJisZPz18Tqh9hOT7PcOzKd3C5OssDb+gxkR3gT7BdEwmHa/1ObJFEil4i+vAW5f5K8JZiYRjKsCbGW/RFR6L4HF+QzHLiVmaFfnFCN1f01BJqymXTXklWLiMei6MF1FkeasOU43dV0gjKkkzhRL5AcJA7ZaCAMnyYznuUnI2hng9TAYXZy5tfh76SPISNdg2fExRE/0Op/6xhRHZyYXXdFv1Olce7nhmKYEx4YTC7SdPWIZflzsJGNFlqgdPH72urFMXXNhOMgrkn3eQLG55zrFsbLqKUGN9SYK0U/QT5sdr+2jS340o3KO9foXooHlJh9PyLtCjbe95yfuQhUIyDaaUaUtaXjqhhowpl+3P+haWsv2V3PN2/8A \ No newline at end of file diff --git a/documentation/internal_architecture.md b/documentation/internal_architecture.md index 8b0f5d07f..dfa572065 100644 --- a/documentation/internal_architecture.md +++ b/documentation/internal_architecture.md @@ -4,7 +4,9 @@ The Prometheus server consists of many internal components that work together in The overall Prometheus server architecture is shown in this diagram: -![Prometheus server architecture](images/internal_architecture.jpg) +![Prometheus server architecture](images/internal_architecture.svg) + +**NOTE**: Arrows indicate request or connection initiation direction, not necessarily dataflow direction. The sections below will explain each component in the diagram. Code links and explanations are based on Prometheus version 2.3.1. Future Prometheus versions may differ.