aboutsummaryrefslogtreecommitdiff
path: root/utils/prometheus
Commit message (Collapse)AuthorAge
* treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16Andre Heider2023-04-08
| | | | | | | See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with PKG_BUILD_FLAGS:=no-mips16" on the main repository. Signed-off-by: Andre Heider <a.heider@gmail.com>
* prometheus: Update default tsdb directory handlingAlex Simkin2021-09-09
| | | | | | | | | | | | | | | Use /srv/prometheus instead of /data, because user `prometheus` doens't have permissions to create `/data/` in `/`. Instead this commit puts prometheus data into `/srv/prometheus` by default, which is a cleaner path, and it'll create tsdb path & then assign required permissions on each prometheus service start. This way, also, the cases when users re-configure tsdb to point to external USB - it'll also be created and assigned required permissions for prometheus. Signed-off-by: Alex Simkin <sashasimkin@gmail.com>
* prometheus: update to 2.25.2Paul Spooren2021-03-23
| | | | | | | See changes at upstream release log: https://github.com/prometheus/prometheus/releases Signed-off-by: Paul Spooren <mail@aparcar.org>
* prometheus: bump to 2.22.0Paul Spooren2020-10-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | As announced in the 2.21.0 release notes, the experimental gRPC API v2 has been removed. [CHANGE] web: Remove APIv2. #7935 [ENHANCEMENT] React UI: Implement missing TSDB head stats section. #7876 [ENHANCEMENT] UI: Add Collapse all button to targets page. #6957 [ENHANCEMENT] UI: Clarify alert state toggle via checkbox icon. #7936 [ENHANCEMENT] Add rule_group_last_evaluation_samples and prometheus_tsdb_data_replay_duration_seconds metrics. #7737 #7977 [ENHANCEMENT] Gracefully handle unknown WAL record types. #8004 [ENHANCEMENT] Issue a warning for 64 bit systems running 32 bit binaries. #8012 [BUGFIX] Adjust scrape timestamps to align them to the intended schedule, effectively reducing block size. Workaround for a regression in go1.14+. #7976 [BUGFIX] promtool: Ensure alert rules are marked as restored in unit tests. #7661 [BUGFIX] Eureka: Fix service discovery when compiled in 32-bit. #7964 [BUGFIX] Don't do literal regex matching optimisation when case insensitive. #8013 [BUGFIX] Fix classic UI sometimes running queries for instant query when in range query mode. #7984 Signed-off-by: Paul Spooren <mail@aparcar.org>
* prometheus: simplify runtime testPaul Spooren2020-09-17
| | | | | | Passed argument no longer contains the release. Signed-off-by: Paul Spooren <mail@aparcar.org>
* prometheus: add runtime testPaul Spooren2020-09-17
| | | | | | | | Run trivial check if the compiled binary works on the architecture. Do so by comparing the printed version by the binary with the Makefile version. The release is OpenWrt specific, so cut it off. Signed-off-by: Paul Spooren <mail@aparcar.org>
* prometheus: bump to 2.21.0Paul Spooren2020-09-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This release is built with Go 1.15, which deprecates X.509 CommonName in TLS certificates validation. In the unlikely case that you use the gRPC API v2 (which is limited to TSDB admin commands), please note that we will remove this experimental API in the next minor release 2.22. [CHANGE] Disable HTTP/2 because of concerns with the Go HTTP/2 client. #7588 #7701 [CHANGE] PromQL: query_log_file path is now relative to the config file. #7701 [CHANGE] Promtool: Replace the tsdb command line tool by a promtool tsdb subcommand. #6088 [CHANGE] Rules: Label rule_group_iterations metric with group name. #7823 [FEATURE] Eureka SD: New service discovery. #3369 [FEATURE] Hetzner SD: New service discovery. #7822 [FEATURE] Kubernetes SD: Support Kubernetes EndpointSlices. #6838 [FEATURE] Scrape: Add per scrape-config targets limit. #7554 [ENHANCEMENT] Support composite durations in PromQL, config and UI, e.g. 1h30m. #7713 #7833 [ENHANCEMENT] DNS SD: Add SRV record target and port meta labels. #7678 [ENHANCEMENT] Docker Swarm SD: Support tasks and service without published ports. #7686 [ENHANCEMENT] PromQL: Reduce the amount of data queried by remote read when a subquery has an offset. #7667 [ENHANCEMENT] Promtool: Add --time option to query instant command. #7829 [ENHANCEMENT] UI: Respect the --web.page-title parameter in the React UI. #7607 [ENHANCEMENT] UI: Add duration, labels, annotations to alerts page in the React UI. #7605 [ENHANCEMENT] UI: Add duration on the React UI rules page, hide annotation and labels if empty. #7606 [BUGFIX] API: Deduplicate series in /api/v1/series. #7862 [BUGFIX] PromQL: Drop metric name in bool comparison between two instant vectors. #7819 [BUGFIX] PromQL: Exit with an error when time parameters can't be parsed. #7505 [BUGFIX] Remote read: Re-add accidentally removed tracing for remote-read requests. #7916 [BUGFIX] Rules: Detect extra fields in rule files. #7767 [BUGFIX] Rules: Disallow overwriting the metric name in the labels section of recording rules. #7787 [BUGFIX] Rules: Keep evaluation timestamp across reloads. #7775 [BUGFIX] Scrape: Do not stop scrapes in progress during reload. #7752 [BUGFIX] TSDB: Fix chunks.HeadReadWriter: maxt of the files are not set error. #7856 [BUGFIX] TSDB: Delete blocks atomically to prevent corruption when there is a panic/crash during deletion. #7772 [BUGFIX] Triton SD: Fix a panic when triton_sd_config is nil. #7671 [BUGFIX] UI: Fix react UI bug with series going on and off. #7804 [BUGFIX] UI: Fix styling bug for target labels with special names in React UI. #7902 [BUGFIX] Web: Stop CMUX and GRPC servers even with stale connections, preventing the server to stop on SIGTERM. #7810 Signed-off-by: Paul Spooren <mail@aparcar.org>
* prometheus: set build info via x-flagsPaul Spooren2020-09-10
| | | | | | | Similar to `syncthing` also `prometheus` build environment sets variables later shown in the `--version` string. Set those varialbes. Signed-off-by: Paul Spooren <mail@aparcar.org>
* prometheus: bump to 2.20.1Paul Spooren2020-09-05
| | | | Signed-off-by: Paul Spooren <mail@aparcar.org>
* prometheus: bump to 2.15.2Paul Spooren2020-02-07
| | | | | | Also remove fsnotify patch as compiling without it worked for mipsel64le Signed-off-by: Paul Spooren <mail@aparcar.org>
* prometheus: Fix build for mips64/mips64elJeffery To2019-07-23
| | | | | | | | | | | | | Prometheus uses an older version of fsnotify, which uses a system call (unix.InotifyInit) that is not implemented for mips64/mips64el. This patches Prometheus to use a newer version of fsnotify that uses a different system call (unix.InotifyInit1) that should be available on all Linux systems. Fixes #9494. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* prometheus: update to 2.10Paul Spooren2019-05-28
| | | | Signed-off-by: Paul Spooren <mail@aparcar.org>
* prometheus: update to 2.8.0 + bzr-less backportPaul Spooren2019-03-25
| | | | | | Update to 2.8.0 and add patch to get rid of the bzr requirement Signed-off-by: Paul Spooren <mail@aparcar.org>
* prometheus: update to 2.7.1Paul Spooren2019-02-04
| | | | Signed-off-by: Paul Spooren <mail@aparcar.org>
* prometheus: update to 2.6.1Paul Spooren2019-01-21
| | | | Signed-off-by: Paul Spooren <mail@aparcar.org>
* prometheus: Update to 2.6.0Rosen Penev2018-12-19
| | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* prometheus: add packagePaul Spooren2018-07-26
Compile tested: x86/64, aarch64_cortex-a53 Run tested: x86/64 Signed-off-by: Paul Spooren <spooren@informatik.uni-leipzig.de> Signed-off-by: Paul Spooren <mail@aparcar.org>