Commit Graph

8 Commits (master)

Author SHA1 Message Date
Dustin eedf030dae p/vm: Update to 1.85.3
dustin/metricspi/pipeline/pr-master This commit looks good Details
dustin/metricspi/pipeline/head This commit looks good Details
2022-12-22 13:52:20 -06:00
Dustin 276bcce2a4 pkg/victoriametrics: Fix up vmalert unit file
dustin/metricspi/pipeline/head This commit looks good Details
I really bundled the `vmalert.service` unit file.  I obviously copied it
from `vmagent.service` but didn't finish editing it.
2022-08-10 18:02:55 -05:00
Dustin 7fddc6fef5 pkg/v-m: vmagent: Remove IP address restrictions
dustin/metricspi/pipeline/head This commit looks good Details
Setting `IPAddressAllow` and `IPAddressDeny` instructs systemd to
construct BPF firewall rules to restrict traffic.  Since `vmagent` is
responsible for scraping metrics from hosts on the network, it does not
make any sense to restrict it to localhost-only communication.
2022-08-07 21:29:26 -05:00
Dustin c1a6f3bb8e package/v-m: Remove DynamicUser from systemd units
None of the Victoria Metrics services should run as a dynamic user.
Indeed, enabling the setting appears to have no effect when `User` is
defined and refers to a user that already exists.  To reduce confusion,
we should omit these directives from the unit files.
2022-08-07 21:26:49 -05:00
Dustin 5fd8878417 Define victoriametrics user in the package
dustin/metricspi/pipeline/head This commit looks good Details
When I originally added the *victoriametrics* user to the `users` file,
I did not realize that it was possible for a package to define a user.
It makes much more sense to define it there.
2022-06-28 17:13:53 -05:00
Dustin d99c3b8f4c Merge victoriametrics and vmutils packages
There's no reason for these to be separate packages.  They come from the
same source tree, so having a single package makes more sense.  I only
separated them originally because I wasn't sure exactly how to express
the proper options in the kconfig language.
2022-06-28 17:13:53 -05:00
Dustin 66e8246c3b Add systemd units for Victoria Metrics
I think it makes the most sense to install the systemd unit files for
services along with their binaries.  This is how most software provided
by Linux distribution package manager works.  Providing the systemd unit
with the package eliminates the need for variability, since the paths to
the executable and other files are well defined.
2022-06-28 17:02:03 -05:00
Dustin 2befb681c7 Install Victoria Metrics
dustin/metricspi/pipeline/head This commit looks good Details
Victoria Metrics is not available by default with Buildroot, but adding
a package description for it is very straightforward.  The flags and
tags are specified within Victoria Metrics's own Makefile.
2022-06-23 10:59:07 -05:00