Difference between revisions of "/lib/systemd/system/prometheus.service"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
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]] | ||
+ | |||
− | + | == 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: