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
===> The following configuration options are available for prometheus-2.55.1_22:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
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.
many: Unsupported Go dep; deprecate and schedule for removal
There are about 75 ports that depend on old, unsupported Go
versions. I've scheduled those Go versions for deletions on
2025/01/01, and so these ports are scheduled for removal on
that same day.
HOWEVER....
Likely NONE or VERY VERY FEW of these ports will actually need
to be deleted! This stems from a misunderstanding:
When go.mod says "go 1.23", it means that it requires AT LEAST
go-1.23. Locking a port to a specific go version should almost
never happen; it is reserved for when a package absolutely
(Only the first 15 lines of the commit message are shown above )
net-mgmt/prometheus2: update to 2.43.0
ChangeLog: https://github.com/prometheus/prometheus/blob/main/CHANGELOG.md
* Promtool: Add HTTP client configuration to query commands.
* Scrape: Add include_scrape_configs to include scrape configs from different
files.
* HTTP client: Add no_proxy to exclude URLs from proxied requests.
* HTTP client: Add proxy_from_enviroment to read proxies from env variables.
* API: Add support for setting lookback delta per query via the API.
* API: Change HTTP status code from 503/422 to 499 if a request is canceled.
* Scrape: Allow exemplars for all metric types.
* TSDB: Add metrics for head chunks and WAL folders size.
* TSDB: Automatically remove incorrect snapshot with index that is ahead of
WAL.
(Only the first 15 lines of the commit message are shown above )
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
net-mgmt/prometheus2: Update to 2.26.0
This release changes the default AlertManager API to v2 and changes
promtool to output to stdout by default, in addition to other
enhancements and added features.
Changes https://github.com/prometheus/prometheus/releases/tag/v2.26.0
PR: 255021
Approved by: David O'Rourke <dor.bsd@xm0.uk> (maintainer)
net-mgmt/prometheus2: Update to 2.18.1
This patch updates net-mgmt/prometheus2 to v2.18.1.
[CHANGE] Federation: Only use local TSDB for federation (ignore remote
read).
[CHANGE] Rules: rule_evaluations_total and rule_evaluation_failures_total
have a rule_group label now.
[FEATURE] Tracing: Added experimental Jaeger support
[ENHANCEMENT] TSDB: Significantly reduce WAL size kept around after a block
cut. #7098
[ENHANCEMENT] Discovery: Add architecture meta label for EC2.
[BUGFIX] UI: Fixed wrong MinTime reported by /status.
[BUGFIX] React UI: Fixed multiselect legend on OSX.
[BUGFIX] Remote Write: Fixed blocked resharding edge case.
[BUGFIX] Remote Write: Fixed remote write not updating on relabel configs
change.
[BUGFIX] TSDB: Fixed snapshot API.
The full changelogs with links to the issues can be found at
https://github.com/prometheus/prometheus/releases/tag/v2.18.0 and
https://github.com/prometheus/prometheus/releases/tag/v2.18.1
PR: 246463
Submitted by: David O'Rourke (maintainer)
net-mgmt/prometheus2: update 2.17.1 -> 2.17.2
[BUGFIX] Federation: Register federation metrics
[BUGFIX] PromQL: Fix panic in parser error handling
[BUGFIX] Rules: Fix reloads hanging when deleting a rule group
that is being evaluated
[BUGFIX] TSDB: Fix a memory leak when prometheus starts with an empty TSDB WAL
[BUGFIX] TSDB: Make isolation more robust to panics in web handlers
PR: 245845
Submitted by: David O'Rourke <dor.bsd@xm0.uk> (maintainer)
Relnotes: https://github.com/prometheus/prometheus/releases/tag/v2.17.2
net-mgmt/prometheus2: Add missing frontend files
Pull in pre-compiled assets from the ports-assets/net-mgmt_prometheus2 GitHub
repository and use them when compiling Prometheus, enabling the new UI to
function properly.
While here, remove GO_PKGNAME which is not needed with USES=go:modules.
PR: 241925
Submitted by: David O'Rourke <dor.bsd@xm0.uk> (maintainer)
Approved by: tz (mentor, implicit)
Update to 2.11.2
- [BUGFIX/SECURITY] Fix a Stored DOM XSS vulnerability with query history.
PR: 239839
Submitted by: David O'Rourke <dor.bsd@xm0.uk> (maintainer)
MFH: 2019Q3
Sponsored by: Netzkommune GmbH
net-mgmt/prometheus2: Update to 2.9.2
Changelog:
* Make sure subquery range is taken into account for selection
* Exhaust every request body before closing it
* Cmd/promtool: return errors from rule evaluations
* Remote Storage: string interner should not panic in release
* Fix memory allocation regression in mergedPostings.Seek
https://github.com/prometheus/prometheus/releases/tag/v2.9.2
PR: 237671
Submitted by: David O'Rourke <dor.bsd@xm0.uk> (maintainer)
Approved by: mentors (implicit)