BSD Ports

net-mgmt/prometheus2 2.55.1_20 FreeBSD

Systems monitoring and alerting toolkit

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
d81b7ba3c3
License
APACHE20
Categories
net-mgmt
Package size
37735.8 KiB, 188017.0 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
FreeBSDnet-mgmt/prometheus22.55.1_20
OpenBSDsysutils/prometheus3.5.2
NetBSDdatabases/prometheus2.55.1nb19
DragonFlynet-mgmt/prometheus22.55.1_3
MidnightBSDnet-mgmt/prometheus22.39.1

Install

Binary package:

pkg install prometheus

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	prometheus>0:net-mgmt/prometheus2

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.55.1_192.55.1_19-2.55.1_62.55.1_19
FreeBSD:14:quarterly2.55.1_192.55.1_19n/a2.55.1_52.55.1_19
FreeBSD:15:latest2.55.1_192.55.1_19n/a2.55.1_62.55.1_6
FreeBSD:15:quarterly2.55.1_192.55.1_19n/an/an/a
FreeBSD:16:latest2.55.1_182.55.1_19n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Patch 1

The full lists below include those, and their dependencies in turn.

Build dependencies 5

No port depends on this one.

Configuration

Options name: net-mgmt_prometheus

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
cpe gmake go:modules
Service scripts
prometheus
Conflicts with
prometheus[13]

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.

Files

pkg-plist 41
  • 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/command-line/index.md
  • share/doc/prometheus/command-line/.md
  • share/doc/prometheus/command-line/promtool.md
  • 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
FileSizeSHA256
go/net-mgmt_prometheus2/prometheus-prometheus-v2.55.1_GH0/go.mod100629f4ce6feb314691b5570d0ce21dbbf91e40c47f82dd5e965c091e184ab0ad3d4
go/net-mgmt_prometheus2/prometheus-prometheus-v2.55.1_GH0/prometheus-web-ui-2.55.1.tar.gz2.440633e+062dbc4b277cb2261b91f015459c25eb8602ab3c9989a228cd9974b264dea45d41
go/net-mgmt_prometheus2/prometheus-prometheus-v2.55.1_GH0/prometheus-prometheus-v2.55.1_GH0.tar.gz6.370113e+06f48251f5c89eea6d3b43814499d558bacc4829265419ee69be49c5af98f79573
Master sites 2
  • https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/${DISTVERSIONFULL}/:gomod
  • https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${DISTVERSIONFULL}/:ui

Commit history 6

DateCommitCreditsLog message
d81b7ba3c3 Dag-Erling Smørgrav various: Bump Go ports for Go 1.26.10 / 1.27.3
031fc6bfbf Dag-Erling Smørgrav various: Bump Go ports
dd0905142a Adam Weinberger many: Bump go ports for 1.26.8 and 1.27.1
4867821cd6 Dag-Erling Smørgrav various: Bump go ports for go-1.25.14 / 1.26.7
6d39dcf04e Dag-Erling Smørgrav various: Bump go ports for go-1.25.13 / 1.26.6

The latest 5 of 6 in the history this site was built from.