Difference between revisions of "/lib/systemd/system/prometheus.service"
Jump to navigation
Jump to search
↑ https://wiki.ubuntu.com/DebuggingSystemd
Line 1: | Line 1: | ||
[[/lib/systemd/system/]]prometheus.service | [[/lib/systemd/system/]]prometheus.service | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | [Unit] | ||
+ | Description=Monitoring system and time series database | ||
+ | Documentation=https://prometheus.io/docs/introduction/overview/ | ||
+ | |||
+ | [Service] | ||
+ | Restart=always | ||
+ | User=prometheus | ||
+ | EnvironmentFile=/etc/default/prometheus | ||
+ | [[ExecStart]]=/usr/bin/prometheus $ARGS | ||
+ | [[ExecReload]]=/bin/kill -HUP $MAINPID | ||
+ | TimeoutStopSec=20s | ||
+ | SendSIGKILL=no | ||
+ | |||
+ | [Install] | ||
+ | [[WantedBy]]=[[multi-user.target]] | ||
+ | |||
Revision as of 17:26, 6 July 2023
/lib/systemd/system/prometheus.service
[Unit] Description=Monitoring system and time series database Documentation=https://prometheus.io/docs/introduction/overview/ [Service] Restart=always User=prometheus EnvironmentFile=/etc/default/prometheus ExecStart=/usr/bin/prometheus $ARGS ExecReload=/bin/kill -HUP $MAINPID TimeoutStopSec=20s SendSIGKILL=no [Install] WantedBy=multi-user.target
See also
- Systemd:
systemctl
,systemd-journald
,journalctl
systemd-cat
,systemd-logind
,systemd-networkd
:networkctl
,systemd-timesyncd
,systemd-resolved
,systemd-udevd
[1],Systemd-logind: loginctl
,hostnamectl
,udevadm
,systemd-run
,portablectl
,systemd-nspawn
, systemd resource management, Timer (systemd), systemd logs,/etc/systemd/
, systemd services,systemd-mount
,/run/systemd/
,.service
,/usr/lib/systemd/
,/usr/lib/systemd/system/
,/usr/lib/systemd/system/systemd-resolved.service
,/lib/systemd/
, machinectl, systemd-oomd, systemd-analyze - Prometheus: Prometheus installation,
9090
, storage, Prometheus exporters: Node exporter9100
, Blackbox exporter, Prometheus alertmanager (changelog), Prometheus versions, Prometheus Node exporter releases,promtool
,amtool, tsdb
,/etc/default/prometheus, /etc/prometheus/prometheus.yml, journalctl -u prometheus
,/etc/default/prometheus-node-exporter
, PromQL,alert:
, Prometheus Operator, Thanos, VictoriaMetrics, PushGateway, Prometheus API,values.yml
, Amazon Managed Service for Prometheus
Advertising: