net-mgmt/prometheus2 2.39.1 MidnightBSD
Systems monitoring and alerting toolkit
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- Apache-2.0
- Categories
- net-mgmt
Description
Prometheus is a systems and service monitoring system. It collects metrics from configured targets at given intervals, evaluates rule expressions, displays the results, and can trigger alerts if some condition is observed to be true.
Prometheus' main distinguishing features as compared to other monitoring systems are:
- a multi-dimensional data model (timeseries defined by metric name and set of key/value dimensions)
- a flexible query language to leverage this dimensionality
- no dependency on distributed storage; single server nodes are autonomous
- timeseries collection happens via a pull model over HTTP
- pushing timeseries is supported via an intermediary gateway
- targets are discovered via service discovery or static configuration
- multiple modes of graphing and dashboarding support
- support for hierarchical and horizontal federation
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | net-mgmt/prometheus2 | 2.39.1 |
| FreeBSD | net-mgmt/prometheus2 | 2.55.1_20 |
| OpenBSD | sysutils/prometheus | 3.5.2 |
| NetBSD | databases/prometheus | 2.55.1nb19 |
| DragonFly | net-mgmt/prometheus2 | 2.55.1_3 |
| HardenedBSD | net-mgmt/prometheus2 | 2.55.1_18 |
| GhostBSD | net-mgmt/prometheus2 | 2.55.1_18 |
Install
Binary package:
mport install prometheus
From mports:
cd /usr/mports/net-mgmt/prometheus2 && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= prometheus>0:net-mgmt/prometheus2
Dependencies
As this port's Makefile names them.
Patch 1
bash: shells/bash
Build dependencies 1
No port depends on this one.
Configuration
Options name: net-mgmt_prometheus
| Option | Default | Description |
|---|---|---|
| DOCS | off |
- USES
- cpe gmake go:modules
- Service scripts
prometheus
Files
pkg-plist 38
- bin/prometheus
- bin/promtool
- %%PROMETHEUS_CONSOLE_LIBRARIES_DIR%%/menu.lib
- %%PROMETHEUS_CONSOLE_LIBRARIES_DIR%%/prom.lib
- %%PROMETHEUS_CONSOLES_DIR%%/index.html.example
- %%PROMETHEUS_CONSOLES_DIR%%/node-cpu.html
- %%PROMETHEUS_CONSOLES_DIR%%/node-disk.html
- %%PROMETHEUS_CONSOLES_DIR%%/node-overview.html
- %%PROMETHEUS_CONSOLES_DIR%%/node.html
- %%PROMETHEUS_CONSOLES_DIR%%/prometheus-overview.html
- %%PROMETHEUS_CONSOLES_DIR%%/prometheus.html
- share/doc/prometheus/configuration/alerting_rules.md
- share/doc/prometheus/configuration/configuration.md
- share/doc/prometheus/configuration/https.md
- share/doc/prometheus/configuration/index.md
- share/doc/prometheus/configuration/recording_rules.md
- share/doc/prometheus/configuration/template_examples.md
- share/doc/prometheus/configuration/template_reference.md
- share/doc/prometheus/configuration/unit_testing_rules.md
- share/doc/prometheus/feature_flags.md
- share/doc/prometheus/federation.md
- share/doc/prometheus/getting_started.md
- share/doc/prometheus/http_sd.md
- share/doc/prometheus/images/remote_integrations.png
- share/doc/prometheus/index.md
- share/doc/prometheus/installation.md
- share/doc/prometheus/management_api.md
- share/doc/prometheus/migration.md
- share/doc/prometheus/querying/api.md
- share/doc/prometheus/querying/basics.md
- share/doc/prometheus/querying/examples.md
- share/doc/prometheus/querying/functions.md
- share/doc/prometheus/querying/index.md
- share/doc/prometheus/querying/operators.md
- share/doc/prometheus/querying/remote_read_api.md
- share/doc/prometheus/stability.md
- share/doc/prometheus/storage.md
- @sample etc/prometheus.yml.sample
distinfo 3
| File | Size | SHA256 |
|---|---|---|
| go/net-mgmt_prometheus2/prometheus-prometheus-v2.39.1_GH0/go.mod | 9105 | b47b91f30e550814893c6c323e8935c94d11f9e59c65b7d37e34c77273c9fbdb |
| go/net-mgmt_prometheus2/prometheus-prometheus-v2.39.1_GH0/prometheus-web-ui-2.39.1.tar.gz | 4.355233e+06 | 063d0f9c93eea9a2748ab8765353d40647e208e5cd48656e5b5040e7b81d1604 |
| go/net-mgmt_prometheus2/prometheus-prometheus-v2.39.1_GH0/prometheus-prometheus-v2.39.1_GH0.tar.gz | 6.045708e+06 | 30cb4c738220087e1c06bff045cbe82e550a474096d8416274d7130a4d5f1130 |
Master sites 2
- https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/${DISTVERSIONFULL}/:gomod
- https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${DISTVERSIONFULL}/:ui