Port details on branch 2022Q3 |
- prometheus2 Systems monitoring and alerting toolkit
- 2.49.1_1 net-mgmt =7 2.47.1_1Version of this port present on the latest quarterly branch.
- Maintainer: dor.bsd@xm0.uk
- Port Added: 2018-02-14 21:58:50
- Last Update: 2024-03-24 14:29:00
- Commit Hash: a5a000d
- People watching this port, also watch:: nginx, cbsd, dovecot, openjdk8, zfs-stats
- License: APACHE20
- WWW:
- https://prometheus.io/
- 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
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- prometheus>0:net-mgmt/prometheus2
- To install the port:
- cd /usr/ports/net-mgmt/prometheus2/ && make install clean
- To add the package, run one of these commands:
- pkg install net-mgmt/prometheus2
- pkg install prometheus
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: prometheus
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1708263208
SHA256 (go/net-mgmt_prometheus2/prometheus-prometheus-v2.49.1_GH0/go.mod) = 6ecc22e2c39aa282a5a4a03f3dab45decaa9232649d10dcdda1dfce513798ce1
SIZE (go/net-mgmt_prometheus2/prometheus-prometheus-v2.49.1_GH0/go.mod) = 9568
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gmake>=4.4.1 : devel/gmake
- go121 : lang/go121
- Fetch dependencies:
-
- go121 : lang/go121
- ca_root_nss>0 : security/ca_root_nss
-
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for prometheus-2.49.1_1:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
- Options name:
- net-mgmt_prometheus2
- USES:
- cpe gmake go:modules zip
- pkg-message:
- If upgrading from < 2.36.0:
- TLS 1.0 and 1.1 disabled by default client-side.
Prometheus users can override this with the min_version parameter of tls_config.
Certificates signed with the SHA-1 hash function are rejected. This doesn't apply to self-signed root certificates.
- If upgrading from < 2.20:
- promtool: Changed rule numbering from 0-based to 1-based when reporting rule errors.
Added `prometheus_remote_storage_read_queries_total` counter and
`prometheus_remote_storage_read_request_duration_seconds` histogram, removed
`prometheus_remote_storage_remote_read_queries_total` counter.
Added buckets for longer durations to
`prometheus_remote_storage_sent_batch_duration_seconds` histogram.
WAL compression is enabled by default.
- If upgrading from < 2.15:
- The `prometheus_sd_kubernetes_cache_*` metrics were removed.
The `prometheus_sd_kubernetes_workqueue_latency_seconds` and
`prometheus_sd_kubernetes_workqueue_work_duration_seconds` now show correct
values in seconds.
The `query` label on `prometheus_remote_storage_*` metrics has been changed to
`remote_name` and `url`.
- If upgrading from < 2.11:
- The `prometheus_tsdb_wal_reader_corruption_errors` metric was renamed to
`prometheus_tsdb_wal_reader_corruption_errors_total`.
- If upgrading from < 2.8:
- The `prometheus_tsdb_storage_blocks_bytes_total` metric is now
`prometheus_tsdb_storage_blocks_bytes`.
- If upgrading from < 2.7:
- The `storage.tsdb.retention` flag has been deprecated in Prometheus 2.7.0.
Users of this flag will want to update their configuration to use the newer
`storage.tsdb.retention.time` flag.
- If upgrading from < 2.3:
- Users of `marathon_sd` should now use `auth_token` and `auth_token_file` for
token-based authentication instead of `bearer_token` and `bearer_token_file`
respectively.
Metric names for the HTTP server metrics were changed.
- If upgrading from < 2.2:
- The `file_sd` mtime metric was renamed.
- Master Sites:
|