Compare commits

...

97 commits

Author SHA1 Message Date
Johannes Zellner d9dfa47cf6 Bump version 2022-12-20 17:01:53 +01:00
Johannes Zellner 6ccf1e6d25 Update test deps 2022-12-14 14:51:53 +01:00
Johannes Zellner c8facf0e6d Bump version 2022-12-14 14:51:11 +01:00
Johannes Zellner ea0c262cfd Update to base image 4.0.0 2022-12-09 17:32:22 +01:00
Johannes Zellner a5b6a658d2 Update test deps 2022-12-09 17:23:17 +01:00
Johannes Zellner bba9930f9c Bump version 2022-12-09 17:23:03 +01:00
Johannes Zellner ae267aea7c Bump version 2022-12-01 15:52:48 +01:00
Johannes Zellner 269ba2edab Update test deps 2022-11-29 13:40:45 +01:00
Johannes Zellner 8e35c302bd Bump version 2022-11-29 13:40:34 +01:00
Johannes Zellner 2939d1238d Bump version 2022-11-24 14:06:56 +01:00
Johannes Zellner 1a307f201b Fixup version in changelog 2022-11-17 16:32:09 +01:00
Johannes Zellner 097e2e1506 Update test deps 2022-11-17 16:14:04 +01:00
Johannes Zellner 93c4cd3dba Bump version 2022-11-17 16:13:47 +01:00
Johannes Zellner e04a451442 Bump version 2022-11-09 16:43:10 +01:00
Johannes Zellner 445a399441 Bump test deps 2022-11-08 11:41:47 +01:00
Johannes Zellner 056fae6220 Bump version 2022-11-08 11:41:37 +01:00
Girish Ramakrishnan bb29e0c71e Version 1.17.1 2022-10-09 08:01:20 +02:00
Girish Ramakrishnan d315eff0c6 Update Prometheus to 2.39.1 2022-10-09 07:48:42 +02:00
Girish Ramakrishnan 0c50f94950 Version 1.17.0 2022-10-05 08:36:07 +02:00
Girish Ramakrishnan 1429d39995 Update test packages 2022-10-05 08:31:16 +02:00
Girish Ramakrishnan a70075d0d2 Update Prometheus to 2.39.0 2022-10-05 08:30:05 +02:00
Girish Ramakrishnan 69330a92e2 Version 1.16.0 2022-08-17 08:25:19 +02:00
Girish Ramakrishnan 4945dfd4e9 Update test packages 2022-08-17 08:25:08 +02:00
Girish Ramakrishnan db40ae2556 Update prometheus to 2.38.0 2022-08-17 06:55:44 +02:00
Girish Ramakrishnan fad48a51d9 Version 1.15.0 2022-07-15 14:07:46 +05:30
Girish Ramakrishnan cefc8a5cde Update prometheus to 2.37.0 2022-07-15 12:57:10 +05:30
Girish Ramakrishnan 985d007783 Version 1.14.2 2022-06-20 22:12:28 -07:00
Girish Ramakrishnan 548804b068 Update prometheus to 2.36.2 2022-06-20 22:05:19 -07:00
Girish Ramakrishnan 7cfe7beba6 Version 1.14.1 2022-06-09 17:01:51 -07:00
Girish Ramakrishnan c6d53c9f04 Update test packages 2022-06-09 17:01:17 -07:00
Girish Ramakrishnan 831b93e872 Update prometheus server to 2.36.1 2022-06-09 16:42:30 -07:00
Johannes Zellner 4032fed24e Fixup changelog 2022-05-31 10:52:35 +02:00
Johannes Zellner d6455720b6 Update test deps 2022-05-31 10:28:34 +02:00
Johannes Zellner 535a255c68 Bump version for 2.36.0 2022-05-31 10:28:04 +02:00
Johannes Zellner 508b28a216 Update test deps 2022-04-21 12:42:09 +02:00
Johannes Zellner c1e4b148f0 Bump version for 2.35.0 2022-04-21 12:41:57 +02:00
Girish Ramakrishnan 28481cec26 Version 1.13.0 2022-03-15 09:15:32 -07:00
Girish Ramakrishnan 51a23dd65d Update test packages 2022-03-15 09:15:07 -07:00
Girish Ramakrishnan 705828756c Update prometheus to 2.34.0 2022-03-15 09:04:08 -07:00
Girish Ramakrishnan 4c8e6b318c Version 1.12.0 2022-03-08 09:37:45 -08:00
Girish Ramakrishnan 992c288b93 Update test packages 2022-03-08 09:33:27 -08:00
Girish Ramakrishnan 059fc273f1 Remove docker/ directory
this brings it in line with other packages
2022-03-08 09:32:27 -08:00
Girish Ramakrishnan ed82c69743 Update prometheus to 2.33.5 2022-03-08 09:30:31 -08:00
Johannes Zellner 8bcbc05391 Update test deps 2022-02-22 19:02:02 +01:00
Johannes Zellner 35c74911e9 Bump version for 2.33.4 2022-02-22 19:01:38 +01:00
Johannes Zellner f1ad90a8bc Bump version for 2.33.3 2022-02-12 14:04:51 +01:00
Girish Ramakrishnan e42ce603c8 Version 1.11.2 2022-02-11 10:47:57 -08:00
Girish Ramakrishnan ee3ed6fdb6 Update test packages 2022-02-11 10:23:40 -08:00
Girish Ramakrishnan 73b1594701 Update prometheus to 2.33.2 2022-02-11 10:20:56 -08:00
Johannes Zellner c565740dc1 Update test deps 2022-02-02 17:03:02 +01:00
Johannes Zellner 28684a3c47 Bump version for 2.33.1 2022-02-02 17:02:50 +01:00
Johannes Zellner a42ce3d5d1 Update test deps 2022-01-30 16:17:01 +01:00
Johannes Zellner 9501d67ead Bump version for 2.33.0 2022-01-30 16:16:41 +01:00
Girish Ramakrishnan bdc99e5e92 Version 1.10.1 2021-12-20 11:04:16 -08:00
Girish Ramakrishnan a37d91dad2 Update prometheus to 2.32.1 2021-12-20 11:00:35 -08:00
Girish Ramakrishnan c2925f1e4a Version 1.10.0 2021-12-14 21:02:21 -08:00
Girish Ramakrishnan b5caa0c191 Update prometheus to 2.32.0 2021-12-14 20:35:40 -08:00
Johannes Zellner 8f7cd30106 Update test deps 2021-12-13 14:29:55 +01:00
Johannes Zellner 4dcb76b0e2 Bump version for 2.31.1 2021-12-13 14:28:09 +01:00
Girish Ramakrishnan 2caf79c441 Version 1.9.6 2021-11-05 16:32:59 -07:00
Girish Ramakrishnan 0b75472e6a Update prometheus to 2.31.1 2021-11-05 16:26:42 -07:00
Johannes Zellner 523fb48df3 Fixup tests 2021-11-02 17:04:49 +01:00
Johannes Zellner b7240f4b23 Update test deps 2021-11-02 16:16:50 +01:00
Johannes Zellner 1d62781790 Bump version for 2.31.0 2021-11-02 16:14:59 +01:00
Johannes Zellner f209e3e77f Bump version 2021-10-12 13:41:10 +02:00
Johannes Zellner fe72ecea92 Merge branch 'feature/start-options' into 'master'
Feature/start options - add storage.tsdb.retention.time

See merge request cloudron/prometheus-server-app!3
2021-10-12 11:34:08 +00:00
Elias Hackradt ed6c06d0d7 Feature/start options - add storage.tsdb.retention.time 2021-10-12 11:34:07 +00:00
Johannes Zellner f9f53ce26e Bump version for 2.30.3 2021-10-06 10:30:20 +02:00
Girish Ramakrishnan ddce2d3fa6 Version 1.9.2 2021-10-03 17:27:55 -07:00
Girish Ramakrishnan 27845b75b1 Update prometheus server to 2.30.2 2021-10-03 17:08:58 -07:00
Johannes Zellner dbe03a91d4 Update test deps 2021-09-28 15:41:12 +02:00
Johannes Zellner 2bb246ed5e Bump version for 2.30.1 2021-09-28 15:40:36 +02:00
Johannes Zellner cb8c4c8c55 Update test deps 2021-09-14 18:51:26 +02:00
Johannes Zellner 9cfe27a7ca Bump verison for 2.30.0 2021-09-14 18:50:42 +02:00
Johannes Zellner 15433b4cec Update test deps 2021-08-27 14:03:15 +02:00
Johannes Zellner 0b3c76f2dc Bump version for 2.29.2 2021-08-27 14:02:25 +02:00
Johannes Zellner 88069bd439 Bump version for 2.29.1 2021-08-11 18:03:05 +02:00
Johannes Zellner fb1c9b4c2c Update test deps 2021-08-11 10:57:24 +02:00
Johannes Zellner 18bead432d Bump version for 2.29.0 2021-08-11 10:56:50 +02:00
Girish Ramakrishnan cb3ba472cf Version 1.7.1 2021-07-03 09:41:28 -07:00
Girish Ramakrishnan 302d0bf88a Update prometheus to 2.28.1 2021-07-03 09:36:30 -07:00
Girish Ramakrishnan 311e612f4c Version 1.7.0 2021-06-23 10:02:26 -07:00
Girish Ramakrishnan 4d6f175ce4 Update prometheus to 2.28.0 2021-06-23 09:24:02 -07:00
Girish Ramakrishnan 462354ee32 Version 1.6.1 2021-05-19 18:37:59 -07:00
Girish Ramakrishnan 143b38fdf3 Update metabase to 2.27.1 2021-05-19 18:24:25 -07:00
Girish Ramakrishnan d0ea08bccc Version 1.6.0 2021-05-13 23:13:46 -07:00
Girish Ramakrishnan 21f9df10ae Update prometheus to 2.27.0 2021-05-13 21:25:54 -07:00
Girish Ramakrishnan 8f61a932aa Version 1.5.0 2021-03-31 18:32:39 -07:00
Girish Ramakrishnan cdeb272470 Update prometheus to 2.26.0 2021-03-31 18:22:54 -07:00
Girish Ramakrishnan 14a1225312 Version 1.4.1 2021-03-17 11:23:44 -07:00
Girish Ramakrishnan f8dd03292c Update test packages 2021-03-17 11:23:40 -07:00
Girish Ramakrishnan c889592075 Enable basicAuth 2021-03-17 11:17:26 -07:00
Girish Ramakrishnan d8bd5f4943 Update prometheus to 2.25.2 2021-03-17 11:16:50 -07:00
Girish Ramakrishnan 8bd1fcf4e8 Version 1.4.0 2021-02-20 18:40:10 -08:00
Girish Ramakrishnan eb41984597 Update prometheus to 2.25.0 2021-02-20 18:38:32 -08:00
Girish Ramakrishnan b6526ddc76 Version 1.3.0 2021-02-20 18:37:31 -08:00
Girish Ramakrishnan bcf067b152 Update prometheus to 2.24.1 2021-02-20 18:34:03 -08:00
10 changed files with 2072 additions and 961 deletions

View file

@ -1,26 +0,0 @@
[0.1.0]
* Initial version
[0.2.0]
* Fix app title
[0.3.0]
* Fix first run command
[1.0.0]
* Initial stable version
[1.1.0]
* Use base image v3
[1.2.0]
* Update prometheus to 2.23.0
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.23.0)
* UI: Make the React UI default. #8142
* Remote write: The following metrics were removed/renamed in remote write. #6815
* Remote: Do not collect non-initialized timestamp metrics. #8060
* Remote write: Added a metric prometheus_remote_storage_max_samples_per_send for remote write. #8102
* TSDB: Make the snapshot directory name always the same length. #8138
* TSDB: Create a checkpoint only once at the end of all head compactions. #8067
* TSDB: Avoid Series API from hitting the chunks. #8050
* TSDB: Cache label name and last value when adding series during compactions making compactions faster. #8192

307
CHANGELOG.md Normal file
View file

@ -0,0 +1,307 @@
[0.1.0]
* Initial version
[0.2.0]
* Fix app title
[0.3.0]
* Fix first run command
[1.0.0]
* Initial stable version
[1.1.0]
* Use base image v3
[1.2.0]
* Update prometheus to 2.23.0
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.23.0)
* UI: Make the React UI default. #8142
* Remote write: The following metrics were removed/renamed in remote write. #6815
* Remote: Do not collect non-initialized timestamp metrics. #8060
* Remote write: Added a metric prometheus_remote_storage_max_samples_per_send for remote write. #8102
* TSDB: Make the snapshot directory name always the same length. #8138
* TSDB: Create a checkpoint only once at the end of all head compactions. #8067
* TSDB: Avoid Series API from hitting the chunks. #8050
* TSDB: Cache label name and last value when adding series during compactions making compactions faster. #8192
[1.3.0]
* Update Prometheus to 2.24.1
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.24.0)
[1.4.0]
* Update Prometheus to 2.25.0
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.25.0)
* Add optional name property to testgroup for better test failure output. #8440
* Add warnings into React Panel on the Graph page. #8427
* TSDB: Increase the number of buckets for the compaction duration metric. #8342
* Remote: Allow passing along custom remote_write HTTP headers. #8416
* Mixins: Scope grafana configuration. #8332
[1.4.1]
* Update Prometheus to 2.25.2
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.25.2)
* Fix the ingestion of scrapes when the wall clock changes, e.g. on suspend
* Enable basicAuth so it can work with apps like grafana
[1.5.0]
* Update Prometheus to 2.26.0
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.26.0)
* Remote: Add support for AWS SigV4 auth method for remote_write. #8509
* Scaleway Discovery: Add Scaleway Service Discovery. #8555
* PromQL: Allow negative offsets. Behind --enable-feature=promql-negative-offset flag. #8487
* experimental Exemplars: Add in-memory storage for exemplars. Behind --enable-feature=exemplar-storage flag. #6635
* UI: Add advanced auto-completion, syntax highlighting and linting to graph page query input. #8634
[1.6.0]
* Update Prometheus to 2.27.0
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.27.0)
* UI: Add a dark theme. #8604
[1.6.1]
* Update Prometheus to 2.27.1
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.27.1)
[1.7.0]
* Update Prometheus to 2.28.0
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.28.0)
* [CHANGE] UI: Make the new experimental PromQL editor the default. #8925
* [FEATURE] Linode SD: Add Linode service discovery. #8846
* [FEATURE] HTTP SD: Add generic HTTP-based service discovery. #8839
* [FEATURE] Kubernetes SD: Allow configuring API Server access via a kubeconfig file. #8811
* [FEATURE] UI: Add exemplar display support to the graphing interface. #8832 #8945 #8929
* [FEATURE] Consul SD: Add namespace support for Consul Enterprise. #8900
* [ENHANCEMENT] Promtool: Allow silencing output when importing / backfilling data. #8917
* [ENHANCEMENT] Consul SD: Support reading tokens from file. #8926
* [ENHANCEMENT] Rules: Add a new .ExternalURL alert field templating variable, containing the external URL of the Prometheus server. #8878
* [ENHANCEMENT] Scrape: Add experimental body_size_limit scrape configuration setting to limit the allowed response body size for target scrapes. #8833 #8886
[1.7.1]
* Update Prometheus to 2.28.1
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.28.1)
* [BUGFIX]: HTTP SD: Allow charset specification in Content-Type header. #8981
* [BUGFIX]: HTTP SD: Fix handling of disappeared target groups. #9019
* [BUGFIX]: Fix incorrect log-level handling after moving to go-kit/log. #9021
[1.8.0]
* Update Prometheus to 2.29.0
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.29.0)
[1.8.1]
* Update Prometheus to 2.29.1
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.29.1)
[1.8.2]
* Update Prometheus to 2.29.2
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.29.2)
[1.9.0]
* Update Prometheus to 2.30.0
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.30.0)
[1.9.1]
* Update Prometheus to 2.30.1
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.30.1)
[1.9.2]
* Update Prometheus to 2.30.2
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.30.2)
[1.9.3]
* Update Prometheus to 2.30.3
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.30.3)
[1.9.4]
* Set default retention_time to 15 days
[1.9.5]
* Update Prometheus to 2.31.0
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.31.0)
* [CHANGE] UI: Remove standard PromQL editor in favour of the codemirror-based editor. #9452
* [FEATURE] PromQL: Add trigonometric functions and atan2 binary operator. #9239 #9248 #9515
* [FEATURE] Remote: Add support for exemplar in the remote write receiver endpoint. #9319 #9414
* [FEATURE] SD: Add PuppetDB service discovery. #8883
* [FEATURE] SD: Add Uyuni service discovery. #8190
* [FEATURE] Web: Add support for security-related HTTP headers. #9546
* [ENHANCEMENT] Azure SD: Add proxy_url, follow_redirects, tls_config. #9267
* [ENHANCEMENT] Backfill: Add --max-block-duration in promtool create-blocks-from rules. #9511
* [ENHANCEMENT] Config: Print human-readable sizes with unit instead of raw numbers. #9361
* [ENHANCEMENT] HTTP: Re-enable HTTP/2. #9398
* [ENHANCEMENT] Kubernetes SD: Warn user if number of endpoints exceeds limit. #9467
* [ENHANCEMENT] OAuth2: Add TLS configuration to token requests. #9550
* [ENHANCEMENT] PromQL: Several optimizations. #9365 #9360 #9362 #9552
* [ENHANCEMENT] PromQL: Make aggregations deterministic in instant queries. #9459
* [ENHANCEMENT] Rules: Add the ability to limit number of alerts or series. #9260 #9541
* [ENHANCEMENT] SD: Experimental discovery manager to avoid restarts upon reload. Disabled by default, enable with flag --enable-feature=new-service-discovery-manager. #9349 #9537
* [ENHANCEMENT] UI: Debounce timerange setting changes. #9359
* [BUGFIX] Backfill: Apply rule labels after query labels. #9421
* [BUGFIX] Scrape: Resolve conflicts between multiple exported label prefixes. #9479 #9518
* [BUGFIX] Scrape: Restart scrape loops when __scrape_interval__ is changed. #9551
* [BUGFIX] TSDB: Fix memory leak in samples deletion. #9151
* [BUGFIX] UI: Use consistent margin-bottom for all alert kinds. #9318
[1.9.6]
* Update Prometheus to 2.31.1
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.31.1)
* Fix a panic when the experimental discovery manager receive targets during a reload
[1.9.7]
* Update Prometheus to 2.31.1
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.31.1)
[1.10.0]
* Update Prometheus to 2.32.0
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.32.0)
[1.10.1]
* Update Prometheus to 2.32.1
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.32.1)
[1.11.0]
* Update Prometheus to 2.33.0
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.33.0)
[1.11.1]
* Update Prometheus to 2.33.1
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.33.1)
[1.11.2]
* Update Prometheus to 2.33.2
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.33.2)
[1.11.3]
* Update Prometheus to 2.33.3
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.33.3)
[1.11.4]
* Update Prometheus to 2.33.4
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.33.4)
[1.12.0]
* Update Prometheus to 2.33.5
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.33.5)
[1.13.0]
* Update Prometheus to 2.34.0
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.34.0)
* TSDB: Disable the chunk write queue by default and allow configuration with the experimental flag --storage.tsdb.head-chunks-write-queue-size. #10425
* HTTP SD: Add a failure counter. #10372
* Azure SD: Set Prometheus User-Agent on requests. #10209
* Uyuni SD: Reduce the number of logins to Uyuni. #10072
* Scrape: Log when an invalid media type is encountered during a scrape. #10186
* Scrape: Accept application/openmetrics-text;version=1.0.0 in addition to version=0.0.1. #9431
* Remote-read: Add an option to not use external labels as selectors for remote read. #10254
* UI: Optimize the alerts page and add a search bar. #10142
* UI: Improve graph colors that were hard to see. #10179
* Config: Allow escaping of $ with $$ when using environment variables with external labels. #10129
[1.13.1]
* Update Prometheus to 2.35.0
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.35.0)
[1.14.0]
* Update Prometheus to 2.36.0
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.36.0)
* [FEATURE] Add lowercase and uppercase relabel action. #10641
* [FEATURE] SD: Add IONOS Cloud integration. #10514
* [FEATURE] SD: Add Vultr integration. #10714
* [FEATURE] SD: Add Linode SD failure count metric. #10673
* [FEATURE] Add prometheus_ready metric. #10682
* [ENHANCEMENT] Add stripDomain to template function. #10475
* [ENHANCEMENT] UI: Enable active search through dropped targets. #10668
* [ENHANCEMENT] promtool: support matchers when querying label values. #10727
* [ENHANCEMENT] Add agent mode identifier. #9638
* [BUGFIX] Changing TotalQueryableSamples from int to int64. #10549
* [BUGFIX] tsdb/agent: Ignore duplicate exemplars. #10595
* [BUGFIX] TSDB: Fix chunk overflow appending samples at a variable rate. #10607
* [BUGFIX] Stop rule manager before TSDB is stopped. #10680
[1.14.1]
* Update Prometheus to 2.36.1
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.36.1)
* [BUGFIX] promtool: Add --lint-fatal option #10840
[1.14.2]
* Update Prometheus to 2.36.2
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.36.2)
* [BUGFIX] Fix serving of static assets like fonts and favicon. #10888
[1.15.0]
* Update Prometheus to 2.37.0
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.37.0)
* Nomad SD: New service discovery for Nomad built-in service discovery. #10915
* Kubernetes SD: Allow attaching node labels for endpoint role. #10759
* PromQL: Optimise creation of signature with/without labels. #10667
* TSDB: Memory optimizations. #10873 #10874
* TSDB: Reduce sleep time when reading WAL. #10859 #10878
* OAuth2: Add appropriate timeouts and User-Agent header. #11020
[1.16.0]
* Update Prometheus to 2.38.0
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.38.0)
* Web: Add a /api/v1/format_query HTTP API endpoint that allows pretty-formatting PromQL expressions. #11036 #10544 #11005
* UI: Add support for formatting PromQL expressions in the UI. #11039
* DNS SD: Support MX records for discovering targets. #10099
* Templates: Add toTime() template function that allows converting sample timestamps to Go time.Time values. #10993
* PromQL: When a query panics, also log the query itself alongside the panic message. #10995
[1.17.0]
* Update Prometheus to 2.39.0
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.39.0)
* experimental TSDB: Add support for ingesting out-of-order samples. This is configured via out_of_order_time_window field in the config file; check config file docs for more info. #11075
* API: /-/healthy and /-/ready API calls now also respond to a HEAD request on top of existing GET support. #11160
* PuppetDB SD: Add __meta_puppetdb_query label. #11238
* AWS EC2 SD: Add __meta_ec2_region label. #11326
* AWS Lightsail SD: Add __meta_lightsail_region label. #11326
* Scrape: Optimise relabeling by re-using memory. #11147
* TSDB: Improve WAL replay timings. #10973 #11307 #11319
* TSDB: Optimise memory by not storing unnecessary data in the memory. #11280 #11288 #11296
* TSDB: Allow overlapping blocks by default. --storage.tsdb.allow-overlapping-blocks now has no effect. #11331
* UI: Click to copy label-value pair from query result to clipboard. #11229
[1.17.1]
* Update Prometheus to 2.39.1
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.39.1)
* [BUGFIX] Rules: Fix notifier relabel changing the labels on active alerts. #11427
[1.18.0]
* Update Prometheus to 2.40.0
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.40.0)
[1.18.1]
* Update Prometheus to 2.40.1
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.40.1)
[1.18.2]
* Update Prometheus to 2.40.2
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.40.2)
[1.18.3]
* Update Prometheus to 2.40.3
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.40.3)
* TSDB: Fix compaction after a deletion is called. #11623
[1.18.4]
* Update Prometheus to 2.40.4
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.40.4)
* Fix Basic Authentication Bypass (CVE-2022-46146)
[1.18.5]
* Update Prometheus to 2.40.5
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.40.5)
* [BUGFIX] TSDB: Fix queries involving native histograms due to improper reset of iterators. #11643
[1.18.6]
* Update Prometheus to 2.40.6
* Update Coudron base image to 4.0.0
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.40.6)
[1.18.7]
* Update Prometheus to 2.40.7
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.40.7)
* [BUGFIX] TSDB: Fix queries involving negative buckets of native histograms. #11699
[1.19.0]
* Update Prometheus to 2.41.0
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.41.0)

View file

@ -1,5 +1,6 @@
{
"version": "1.2.0",
"version": "1.19.0",
"upstreamVersion": "2.41.0",
"id": "io.prometheus.cloudronapp",
"title": "Prometheus Server",
"author": "Erik Tadevosyan",
@ -10,15 +11,17 @@
"icon": "logo.png",
"addons": {
"localstorage": {},
"proxyAuth": {}
"proxyAuth": {
"basicAuth": true
}
},
"manifestVersion": 2,
"website": "https://prometheus.io/",
"contactEmail": "support@cloudron.io",
"tags": [ "metrics", "analytics", "graphite", "collect", "graphs" ],
"changelog": "file://CHANGELOG",
"changelog": "file://CHANGELOG.md",
"documentationUrl": "https://docs.cloudron.io/apps/prometheus/",
"minBoxVersion": "6.0.0",
"minBoxVersion": "7.1.0",
"forumUrl": "https://forum.cloudron.io/category/112/prometheus",
"mediaLinks": [
"https://screenshots.cloudron.io/io.prometheus.cloudronapp/1.png",

View file

@ -1,4 +1,4 @@
This app packages Prometheus <upstream>2.23.0</upstream>
## About
Prometheus, a Cloud Native Computing Foundation project, is a systems and service monitoring system.
It collects metrics from configured targets at given intervals, evaluates rule expressions, displays

View file

@ -1,13 +1,12 @@
FROM cloudron/base:3.0.0@sha256:455c70428723e3a823198c57472785437eb6eab082e79b3ff04ea584faf46e92
FROM cloudron/base:4.0.0@sha256:31b195ed0662bdb06a6e8a5ddbedb6f191ce92e8bee04c03fb02dd4e9d0286df
RUN mkdir -p /app/code
RUN mkdir -p /app/code /app/pkg
WORKDIR /app/code
ARG VERSION=2.23.0
ARG VERSION=2.41.0
# install Prometheus
RUN curl -L https://github.com/prometheus/prometheus/releases/download/v${VERSION}/prometheus-${VERSION}.linux-amd64.tar.gz | tar zxvf - --strip-components 1
COPY start.sh /app/pkg/
COPY default_prometheus_variables.sh start.sh /app/pkg/
CMD [ "/app/pkg/start.sh" ]

View file

@ -0,0 +1,4 @@
#!/bin/bash
# https://prometheus.io/docs/prometheus/latest/storage/#operational-aspects
export retention_time="15d"

View file

@ -11,5 +11,13 @@ fi
chown -R cloudron:cloudron /app/data
echo "=> Starting Prometheus"
exec /usr/local/bin/gosu cloudron:cloudron /app/code/prometheus --config.file=/app/data/config/prometheus.yml --storage.tsdb.path=/app/data/runtime
if [[ ! -f /app/data/prometheus_variables.sh ]]; then
echo "=> Copy default prometheus variable file since it does not exist"
cp /app/pkg/default_prometheus_variables.sh /app/data/prometheus_variables.sh
fi
echo "=> Source custom variables"
source /app/data/prometheus_variables.sh
echo "=> Starting Prometheus with retention time of $retention_time"
exec /usr/local/bin/gosu cloudron:cloudron /app/code/prometheus --config.file=/app/data/config/prometheus.yml --storage.tsdb.path=/app/data/runtime --storage.tsdb.retention.time="${retention_time:-15d}"

2544
test/package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -10,12 +10,10 @@
"license": "ISC",
"devDependencies": {
"expect.js": "^0.3.1",
"mocha": "^8.2.1",
"selenium-server-standalone-jar": "^3.141.59",
"selenium-webdriver": "^3.6.0",
"superagent": "^6.1.0"
"mocha": "^10.2.0",
"selenium-webdriver": "^4.7.1"
},
"dependencies": {
"chromedriver": "^87.0.2"
"chromedriver": "^108.0.0"
}
}

View file

@ -1,24 +1,20 @@
#!/usr/bin/env node
/* jslint node:true */
/* global it:false */
/* global xit:false */
/* global describe:false */
/* global before:false */
/* global after:false */
/* jshint esversion: 8 */
/* global describe */
/* global before */
/* global after */
/* global it */
'use strict';
require('chromedriver');
const execSync = require('child_process').execSync,
var execSync = require('child_process').execSync,
expect = require('expect.js'),
path = require('path');
var By = require('selenium-webdriver').By,
until = require('selenium-webdriver').until,
Key = require('selenium-webdriver').Key,
Builder = require('selenium-webdriver').Builder;
path = require('path'),
{ Builder, By, Key, until } = require('selenium-webdriver'),
{ Options } = require('selenium-webdriver/chrome');
if (!process.env.USERNAME || !process.env.PASSWORD) {
console.log('USERNAME and PASSWORD env vars need to be set');
@ -28,65 +24,53 @@ if (!process.env.USERNAME || !process.env.PASSWORD) {
describe('Application life cycle test', function () {
this.timeout(0);
var server, browser = new Builder().forBrowser('chrome').build();
const LOCATION = 'test';
const EXEC_ARGS = { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' };
const TEST_TIMEOUT = parseInt(process.env.TIMEOUT, 10) || 50000;
var browser;
var username = process.env.USERNAME;
var password = process.env.PASSWORD;
var LOCATION = 'test';
var EXEC_ARGS = { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' };
var TIMEOUT = parseInt(process.env.TIMEOUT, 10) || 50000;
var app;
before(function () {
const options = new Options().windowSize({ width: 1280, height: 1024 });
if (process.env.HEADLESS) options.addArguments('headless');
browser = new Builder().forBrowser('chrome').setChromeOptions(options).build();
});
after(function () {
browser.quit();
});
async function waitForElement(elem) {
await browser.wait(until.elementLocated(elem), TEST_TIMEOUT);
await browser.wait(until.elementIsVisible(browser.findElement(elem)), TEST_TIMEOUT);
}
function getAppInfo() {
var inspect = JSON.parse(execSync('cloudron inspect'));
app = inspect.apps.filter(function (a) { return a.location === LOCATION || a.location === LOCATION + '2'; })[0];
app = inspect.apps.filter(function (a) { return a.location.indexOf(LOCATION) === 0; })[0];
expect(app).to.be.an('object');
}
function login(done) {
browser.get(`https://${app.fqdn}/login`).then(function () {
return browser.wait(until.elementLocated(By.xpath('//input[@name="username"]')), TIMEOUT);
}).then(function () {
return browser.findElement(By.xpath('//input[@name="username"]')).sendKeys(username);
}).then(function () {
return browser.findElement(By.xpath('//input[@name="password"]')).sendKeys(password);
}).then(function () {
return browser.findElement(By.tagName('form')).submit();
}).then(function () {
return browser.wait(until.elementLocated(By.xpath('//a[text()="Alerts"]')), TIMEOUT);
}).then(function () {
done();
});
async function login() {
await browser.get(`https://${app.fqdn}/login`);
await waitForElement(By.xpath('//input[@name="username"]'));
await browser.findElement(By.xpath('//input[@name="username"]')).sendKeys(username);
await browser.findElement(By.xpath('//input[@name="password"]')).sendKeys(password);
await browser.findElement(By.id('login')).click();
await waitForElement(By.xpath('//a[text()="Alerts"]'));
}
function logout(done) {
browser.get(`https://${app.fqdn}/logout`).then(function () {
return browser.wait(until.elementLocated(By.xpath('//input[@name="username"]')), TIMEOUT);
}).then(function () {
done();
});
async function logout() {
await browser.get(`https://${app.fqdn}/logout`);
await waitForElement(By.xpath('//input[@name="username"]'));
}
before(function (done) {
if (!process.env.PASSWORD) return done(new Error('PASSWORD env var not set'));
var seleniumJar= require('selenium-server-standalone-jar');
var SeleniumServer = require('selenium-webdriver/remote').SeleniumServer;
server = new SeleniumServer(seleniumJar.path, { port: 4444 });
server.start();
done();
});
after(function (done) {
browser.quit();
server.stop();
done();
});
xit('build app', function () { execSync('cloudron build', EXEC_ARGS); });
it('install app', function () { execSync(`cloudron install --location ${LOCATION}`, EXEC_ARGS); });
it('can get app information', getAppInfo);
@ -100,12 +84,11 @@ describe('Application life cycle test', function () {
it('backup app', function () { execSync(`cloudron backup create --app ${app.id}`, EXEC_ARGS); });
it('restore app', function () {
const backups = JSON.parse(execSync('cloudron backup list --raw'));
execSync('cloudron uninstall --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
execSync('cloudron install --location ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
var inspect = JSON.parse(execSync('cloudron inspect'));
app = inspect.apps.filter(function (a) { return a.location === LOCATION; })[0];
execSync(`cloudron restore --backup ${backups[0].id} --app ${app.id}`, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
const backups = JSON.parse(execSync(`cloudron backup list --raw --app ${app.id}`));
execSync('cloudron uninstall --app ' + app.id, EXEC_ARGS);
execSync('cloudron install --location ' + LOCATION, EXEC_ARGS);
getAppInfo();
execSync(`cloudron restore --backup ${backups[0].id} --app ${app.id}`, EXEC_ARGS);
});
it('can login', login);
@ -113,6 +96,7 @@ describe('Application life cycle test', function () {
it('move to different location', function () { execSync(`cloudron configure --location ${LOCATION}2 --app ${app.id}`, EXEC_ARGS); });
it('can get app information', getAppInfo);
it('can login', login);
it('can logout', logout);