Skip to content

Update prometheus from 2.49.1 to 2.50.1

Ghost User requested to merge deps/cf38390-f105a05 into master

The following dependencies have been updated by deps:

  • gitlab-org/build/omnibus-mirror/prometheus from 2.49.1 to 2.50.0

Changelog: https://github.com/prometheus/prometheus/blob/v2.50.1/CHANGELOG.md

Test Plan

Check version, query prometheus, and trigger an alert
$ prometheus --version
prometheus, version 2.50.1 (branch: master, revision: 8c9b0285360a0b6288d76214a75ce3025bce4050)
  build user:       GitLab-Omnibus
  build date:       
  go version:       go1.21.6
  platform:         linux/amd64
  tags:             netgo,builtinassets,stringlabels
$ curl --silent 'localhost:9090/api/v1/query?query=up' | jq -r '.status'
success
$ curl --silent localhost:9090/api/v1/alerts | jq
{
  "status": "success",
  "data": {
    "alerts": []
  }
}
$ gitlab-ctl stop gitaly
$ curl --silent localhost:9090/api/v1/alerts | jq
{
  "status": "success",
  "data": {
    "alerts": [
      {
        "labels": {
          "alertname": "ServiceDown",
          "instance": "localhost:9236",
          "job": "gitaly"
        },
        "annotations": {
          "description": "The service gitaly instance localhost:9236 is not responding for more than 50% of the time for 5 minutes.",
          "summary": "The service gitaly is not responding"
        },
        "state": "firing",
        "activeAt": "2024-02-26T15:12:48.720720409Z",
        "value": "3.0000000000000004e+01"
      }
    ]
  }
}
$ gitlab-ctl start gitaly
$ curl --silent localhost:9090/api/v1/alerts | jq
{
  "status": "success",
  "data": {
    "alerts": []
  }
}
Edited by Clemens Beck

Merge request reports