BSD Ports

net-mgmt/prometheus2 2.55.1_3 DragonFly

Systems monitoring and alerting toolkit

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
APACHE20
Categories
net-mgmt
Package size
37163.3 KiB, 197017.3 KiB installed

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

SystemPortVersion
DragonFlynet-mgmt/prometheus22.55.1_3
FreeBSDnet-mgmt/prometheus22.55.1_20
OpenBSDsysutils/prometheus3.5.2
NetBSDdatabases/prometheus2.55.1nb19
MidnightBSDnet-mgmt/prometheus22.39.1
HardenedBSDnet-mgmt/prometheus22.55.1_18
GhostBSDnet-mgmt/prometheus22.55.1_18

Install

Binary package:

pkg install prometheus

From DPorts:

cd /usr/dports/net-mgmt/prometheus2 && make install clean

Dependencies

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

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.

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.

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`.

The `prometheus_tsdb_wal_reader_corruption_errors` metric was renamed to
`prometheus_tsdb_wal_reader_corruption_errors_total`.

The `prometheus_tsdb_storage_blocks_bytes_total` metric is now
`prometheus_tsdb_storage_blocks_bytes`.

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.

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.

The `file_sd` mtime metric was renamed.