Skip to content

Commit

Permalink
Bump Prometheus to v2.54.0
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminguttmann-avtq committed Aug 27, 2024
1 parent 9efae13 commit f501040
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion VERSIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
| [nats_exporter] | | v1.0.0 | ![][nats_exporter-ver] | ![][nats_exporter-act] |
| [nginx] | prometheus | v1.25.3 | ![][nginx-ver] | |
| [postgres_exporter] | | v0.15.0 | ![][postgres_exporter-ver] | ![][postgres_exporter-act] |
| [prometheus] | prometheus | v2.53.0 | ![][prometheus-ver] | ![][prometheus-act] |
| [prometheus] | prometheus | v2.54.0 | ![][prometheus-ver] | ![][prometheus-act] |
| [pushgateway] | prometheus | v1.9.0 | ![][pushgateway-ver] | ![][pushgateway-act] |
| [rabbitmq_exporter] | | v0.29.0 | ![][rabbitmq_exporter-ver] | ![][rabbitmq_exporter-act] |
| [redis_exporter] | | v1.61.0 | ![][redis_exporter-ver] | ![][redis_exporter-act] |
Expand Down
8 changes: 4 additions & 4 deletions config/blobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ prometheus/prometheus-1.8.2.linux-amd64.tar.gz:
size: 17748716
object_id: 54fd8c7b-a676-44cd-64b2-d5788552e607
sha: 33101ac86a6376680c3b44b63db47f1754d77a1a
prometheus/prometheus-2.53.0.linux-amd64.tar.gz:
size: 104192065
object_id: e0cfc49e-9629-4fb4-4d49-576d7210e2de
sha: sha256:d9900a11e3c89261e6416e3c9989858bad7b206af8b6838dfe9a5392d8ddc60d
prometheus/prometheus-2.54.0.linux-amd64.tar.gz:
size: 105686375
object_id: a069e282-1842-448f-59ec-1a7418987bb4
sha: sha256:465e1393a0cca9705598f6ffaf96ffa78d0347808ab21386b0c6aaec2cf7aa13
pushgateway/pushgateway-1.9.0.linux-amd64.tar.gz:
size: 10563386
object_id: 518ddbb2-07d0-4324-5200-8b928dcc7ba4
Expand Down
3 changes: 3 additions & 0 deletions jobs/prometheus2/spec
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ properties:
description: "Document title of Prometheus instance"
prometheus.web.read_timeout:
description: "Maximum duration before timing out read of the request, and closing idle connections"
prometheus.web.remote-write-receiver.accepted-protobuf-messages:
default: "prometheus.WriteRequest"
description: "List of the remote write protobuf messages to accept when receiving the remote writes. Supported values: prometheus.WriteRequest, io.prometheus.write.v2.Request"
prometheus.web.route_prefix:
description: "Prefix for the internal routes of web endpoints"
prometheus.web.user_assets:
Expand Down
3 changes: 3 additions & 0 deletions jobs/prometheus2/templates/bin/prometheus_ctl
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ case $1 in
<% if p('prometheus.web.enable_remote_write_receiver') %> \
--web.enable-remote-write-receiver \
<% end %> \
<% if p('prometheus.web.remote-write-receiver.accepted-protobuf-messages') do |accepted_protobuf_messages| %> \
--web.remote-write-receiver.accepted-protobuf-messages="<%= accepted_protobuf_messages %>" \
<% end %> \
<% if_p('prometheus.web.external_url') do |external_url| %> \
--web.external-url="<%= external_url %>" \
<% end %> \
Expand Down
4 changes: 2 additions & 2 deletions packages/prometheus2/packaging
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ cp -a ${BOSH_COMPILE_TARGET}/common/* ${BOSH_INSTALL_TARGET}/common

# Extract prometheus package
mkdir -p ${BOSH_INSTALL_TARGET}/bin
tar xzvf ${BOSH_COMPILE_TARGET}/prometheus/prometheus-2.53.0.linux-amd64.tar.gz
cp -a ${BOSH_COMPILE_TARGET}/prometheus-2.53.0.linux-amd64/* ${BOSH_INSTALL_TARGET}/bin
tar xzvf ${BOSH_COMPILE_TARGET}/prometheus/prometheus-2.54.0.linux-amd64.tar.gz
cp -a ${BOSH_COMPILE_TARGET}/prometheus-2.54.0.linux-amd64/* ${BOSH_INSTALL_TARGET}/bin
2 changes: 1 addition & 1 deletion packages/prometheus2/spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ name: prometheus2

files:
- common/utils.sh
- prometheus/prometheus-2.53.0.linux-amd64.tar.gz
- prometheus/prometheus-2.54.0.linux-amd64.tar.gz

0 comments on commit f501040

Please sign in to comment.