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 | ||
+ | <pre> | ||
+ | [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 | ||
+ | </pre> | ||
+ | |||
+ | == See also == | ||
* {{systemd}} | * {{systemd}} | ||
* {{prometheus}} | * {{prometheus}} |
Revision as of 19:14, 28 September 2022
/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: