Skip to content

Commit 0e62b8b

Browse files
authored
Merge branch 'prometheus:main' into fix/responsive-navbar-ui
2 parents b11b6ef + b74cebf commit 0e62b8b

File tree

26 files changed

+4997
-1585
lines changed

26 files changed

+4997
-1585
lines changed

.github/workflows/buf-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
16-
- uses: bufbuild/buf-setup-action@1115d0acd3d2a120b30023fac52abc46807c8fd6 # v1.48.0
16+
- uses: bufbuild/buf-setup-action@a47c93e0b1648d5651a065437926377d060baa99 # v1.50.0
1717
with:
1818
github_token: ${{ secrets.GITHUB_TOKEN }}
1919
- uses: bufbuild/buf-lint-action@06f9dd823d873146471cfaaf108a993fe00e5325 # v1.1.1

.github/workflows/buf.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
if: github.repository_owner == 'prometheus'
1414
steps:
1515
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
16-
- uses: bufbuild/buf-setup-action@1115d0acd3d2a120b30023fac52abc46807c8fd6 # v1.48.0
16+
- uses: bufbuild/buf-setup-action@a47c93e0b1648d5651a065437926377d060baa99 # v1.50.0
1717
with:
1818
github_token: ${{ secrets.GITHUB_TOKEN }}
1919
- uses: bufbuild/buf-lint-action@06f9dd823d873146471cfaaf108a993fe00e5325 # v1.1.1

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
runs-on: windows-latest
8181
steps:
8282
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
83-
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
83+
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
8484
with:
8585
go-version: 1.23.x
8686
- run: |
@@ -171,7 +171,7 @@ jobs:
171171
- name: Checkout repository
172172
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
173173
- name: Install Go
174-
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
174+
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
175175
with:
176176
cache: false
177177
go-version: 1.23.x
@@ -184,14 +184,14 @@ jobs:
184184
- name: Checkout repository
185185
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
186186
- name: Install Go
187-
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
187+
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
188188
with:
189189
go-version: 1.23.x
190190
- name: Install snmp_exporter/generator dependencies
191191
run: sudo apt-get update && sudo apt-get -y install libsnmp-dev
192192
if: github.repository == 'prometheus/snmp_exporter'
193193
- name: Lint
194-
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
194+
uses: golangci/golangci-lint-action@ec5d18412c0aeab7936cb16880d708ba2a64e1ae # v6.2.0
195195
with:
196196
args: --verbose
197197
# Make sure to sync this with Makefile.common and scripts/golangci-lint.yml.

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ jobs:
2727
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2828

2929
- name: Initialize CodeQL
30-
uses: github/codeql-action/init@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
30+
uses: github/codeql-action/init@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
3131
with:
3232
languages: ${{ matrix.language }}
3333

3434
- name: Autobuild
35-
uses: github/codeql-action/autobuild@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
35+
uses: github/codeql-action/autobuild@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
3636

3737
- name: Perform CodeQL Analysis
38-
uses: github/codeql-action/analyze@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
38+
uses: github/codeql-action/analyze@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8

.github/workflows/fuzzing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
fuzz-seconds: 600
2222
dry-run: false
2323
- name: Upload Crash
24-
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
24+
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
2525
if: failure() && steps.build.outcome == 'success'
2626
with:
2727
name: artifacts

.github/workflows/scorecards.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ jobs:
3737
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
3838
# format to the repository Actions tab.
3939
- name: "Upload artifact"
40-
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # tag=v4.5.0
40+
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # tag=v4.6.0
4141
with:
4242
name: SARIF file
4343
path: results.sarif
4444
retention-days: 5
4545

4646
# Upload the results to GitHub's code scanning dashboard.
4747
- name: "Upload to code-scanning"
48-
uses: github/codeql-action/upload-sarif@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # tag=v3.28.0
48+
uses: github/codeql-action/upload-sarif@dd746615b3b9d728a6a37ca2045b68ca76d4841a # tag=v3.28.8
4949
with:
5050
sarif_file: results.sarif

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
if: github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community' # Don't run this workflow on forks.
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
14+
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
1515
with:
1616
repo-token: ${{ secrets.GITHUB_TOKEN }}
1717
# opt out of defaults to avoid marking issues as stale and closing them

docs/querying/basics.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,19 @@ _Notes about the experimental native histograms:_
4747
disabling the feature flag again), both instant vectors and range vectors may
4848
now contain samples that aren't simple floating point numbers (float samples)
4949
but complete histograms (histogram samples). A vector may contain a mix of
50-
float samples and histogram samples.
50+
float samples and histogram samples. Note that the term “histogram sample” in
51+
the PromQL documentation always refers to a native histogram. Classic
52+
histograms are broken up into a number of series of float samples. From the
53+
perspective of PromQL, there are no “classic histogram samples”.
54+
* Like float samples, histogram samples can be counters or gauges, also called
55+
counter histograms or gauge histograms, respectively.
56+
* Native histograms can have different bucket layouts, but they are generally
57+
convertible to compatible versions to apply binary and aggregation operations
58+
to them. This is not true for all bucketing schemas. If incompatible
59+
histograms are encountered in an operation, the corresponding output vector
60+
element is removed from the result, flagged with a warn-level annotation.
61+
More details can be found in the
62+
[native histogram specification](https://prometheus.io/docs/specs/native_histograms/#compatibility-between-histograms).
5163

5264
## Literals
5365

0 commit comments

Comments
 (0)