Difference between revisions of "/lib/systemd/system/prometheus.service"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
[Service] | [Service] | ||
− | Restart=always | + | [[Restart=]]always |
User=prometheus | User=prometheus | ||
− | EnvironmentFile=/etc/default/prometheus | + | [[EnvironmentFile]]=/etc/default/prometheus |
[[ExecStart]]=/usr/bin/prometheus $ARGS | [[ExecStart]]=/usr/bin/prometheus $ARGS | ||
[[ExecReload]]=/bin/kill -HUP $MAINPID | [[ExecReload]]=/bin/kill -HUP $MAINPID | ||
Line 20: | Line 20: | ||
== See also == | == See also == | ||
− | * {{ | + | * {{.service}} |
* {{prometheus}} | * {{prometheus}} |
Latest revision as of 17:27, 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[edit]
systemd, .service, /lib/systemd/system/, /etc/systemd/system/, Type=, systemctl list-units --type=service, systemctl daemon-reload, ExecStart, .timer, .mounts, .wants, .socket
- 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: