Commit Graph

1713 Commits

Author SHA1 Message Date
Arthur Silva Sens d85cd60da9
chore: Remove half-implemented changelog automation (#1564)
Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
2024-07-19 17:12:40 +01:00
Arthur Silva Sens 5d119ae726
Merge pull request #1561 from prometheus/repo_sync
Synchronize common files from prometheus/prometheus
2024-07-18 12:21:21 -03:00
Arthur Silva Sens a46cfa7f0b
Merge branch 'main' into repo_sync 2024-07-17 15:01:18 -03:00
Huw Jones 10f4161c7d
process_collector: collect received/transmitted bytes (#1555)
Signed-off-by: Huw Jones <huw@pexip.com>
2024-07-17 12:19:40 +02:00
Ben Kochie fec6b222d9
Update Go tests (#1562)
Add new metric that appeared in 1.22.5 and 1.21.12.
* Improve test output with `cmp.Diff`.

Signed-off-by: SuperQ <superq@gmail.com>
2024-07-15 19:28:14 +02:00
prombot e0573a6c76 Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-07-12 17:47:44 +00:00
github-actions[bot] 45f1e72421
Merge pull request #1553 from prometheus/dependabot/go_modules/github.com/klauspost/compress-1.17.9
build(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9
2024-07-12 13:26:01 +01:00
github-actions[bot] 90619d3afc
Merge pull request #1552 from prometheus/dependabot/go_modules/golang.org/x/sys-0.21.0
build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0
2024-07-12 13:25:45 +01:00
github-actions[bot] 1b436e3212
Merge pull request #1549 from prometheus/dependabot/go_modules/tutorial/whatsup/github.com/prometheus/common-0.55.0
build(deps): bump github.com/prometheus/common from 0.53.0 to 0.55.0 in /tutorial/whatsup
2024-07-12 13:25:32 +01:00
Bartlomiej Plotka b0809618ea
Temporarly remove required CI job for changelog. (#1560)
Signed-off-by: bwplotka <bwplotka@gmail.com>
2024-07-12 13:24:37 +01:00
Bartlomiej Plotka 7cd1249dcc
Update README.md (#1556)
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
2024-07-08 17:26:06 +01:00
Steven Swartz 1a5f005c91
Allow creating constant histogram and summary metrics with a created timestamp (#1537) 2024-07-01 17:35:47 -03:00
dependabot[bot] ec6d6fdc88
build(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9
Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress) from 1.17.8 to 1.17.9.
- [Release notes](https://github.com/klauspost/compress/releases)
- [Changelog](https://github.com/klauspost/compress/blob/master/.goreleaser.yml)
- [Commits](https://github.com/klauspost/compress/compare/v1.17.8...v1.17.9)

---
updated-dependencies:
- dependency-name: github.com/klauspost/compress
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 09:55:00 +00:00
dependabot[bot] ae67d7a7b8
build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.20.0 to 0.21.0.
- [Commits](https://github.com/golang/sys/compare/v0.20.0...v0.21.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 09:54:53 +00:00
dependabot[bot] 00d26be3e6
build(deps): bump github.com/prometheus/common in /tutorial/whatsup
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.53.0 to 0.55.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md)
- [Commits](https://github.com/prometheus/common/compare/v0.53.0...v0.55.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 09:53:31 +00:00
Ivan Ryabov 34e02e282d
client: Add Option to provide limit query param for APIs that support it (#1544)
* client: Add Option to provide limit query param for APIs that support it

Signed-off-by: Ivan Ryabov <abbyssoul@gmail.com>

* Renamed formatOptions -> addOptionalURLParams and comment as per review feedback

Signed-off-by: Ivan Ryabov <abbyssoul@gmail.com>

---------

Signed-off-by: Ivan Ryabov <abbyssoul@gmail.com>
2024-06-28 12:42:56 +01:00
Arthur Silva Sens 3631776ed8
Merge pull request #1545 from prometheus/repo_sync
Synchronize common files from prometheus/prometheus
2024-06-27 20:25:50 -03:00
prombot 132027163d Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-06-25 17:47:46 +00:00
Ben Kochie bccd68204b
Remove inlined upstream code (#1539)
Avoid having to maintain inlined code by using Go modules for
`github.com/kylelemons/godebug`.

Signed-off-by: SuperQ <superq@gmail.com>
2024-06-20 13:05:41 +02:00
Ben Kochie 33697e636a
Cleanup NOTICE file (#1541)
The `github.com/matttproud/golang_protobuf_extensions` dependency was
removed in favor of upstream protobuf functions.

Signed-off-by: SuperQ <superq@gmail.com>
2024-06-19 21:05:49 +02:00
Arthur Silva Sens 7fe5d467da
Merge pull request #1531 from prometheus/repo_sync
Synchronize common files from prometheus/prometheus
2024-06-13 14:39:36 -03:00
Ben Kochie e06ccdbbab
Merge pull request #1529 from prometheus/dependabot/go_modules/tutorial/whatsup/github.com/prometheus/client_golang-1.19.1
build(deps): bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 in /tutorial/whatsup
2024-06-11 10:57:30 +02:00
Arthur Silva Sens b59c63b3f3
Merge pull request #1536 from prometheus/superq/lint_timeout
Fix golangci-lint config
2024-06-10 20:40:52 -03:00
SuperQ 60983224b9
Fix golangci-lint config
The deadline config key is now called timeout.

Signed-off-by: SuperQ <superq@gmail.com>
2024-06-10 10:49:42 +02:00
Manuel Rüger f08b10c5bc
feat: Support zstd compression (#1496)
* feat: Support zstd encoding

This allows endpoints to respond with zstd compressed metric data, if
the requester supports it.

I have imported a content-encoding parser from
https://github.com/golang/gddo which is an archived repository to
support different content-encoding headers.

Signed-off-by: Manuel Rüger <manuel@rueg.eu>

* Update prometheus/promhttp/http.go

Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
Signed-off-by: Manuel Rüger <manuel@rueg.eu>

* Update prometheus/promhttp/http.go

Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
Signed-off-by: Manuel Rüger <manuel@rueg.eu>

* Update prometheus/promhttp/http.go

Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
Signed-off-by: Manuel Rüger <manuel@rueg.eu>

* Integrate review comments

* String typed enum

Signed-off-by: Manuel Rüger <manuel@rueg.eu>

* Test with gzip compression

Signed-off-by: Manuel Rüger <manuel@rueg.eu>

* Update prometheus/promhttp/http.go

Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
Signed-off-by: Manuel Rüger <manuel@rueg.eu>

* Reorder error handling

Signed-off-by: Manuel Rüger <manuel@rueg.eu>

* Apply suggestions from code review

Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
Signed-off-by: Manuel Rüger <manuel@rueg.eu>

* Include review suggestions

Signed-off-by: Manuel Rüger <manuel@rueg.eu>

---------

Signed-off-by: Manuel Rüger <manuel@rueg.eu>
Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
2024-06-07 15:56:19 +01:00
Arthur Silva Sens 920e6f73cc
Merge pull request #1532 from SachinSahu431/sachin/fix-changelog-automation
Remove synchronize trigger from changelog workflow
2024-06-06 11:24:34 -03:00
Sachin Sahu e6da43aaeb Remove synchronize trigger from workflow
Signed-off-by: Sachin Sahu <sachinksahu.431@gmail.com>
2024-06-06 19:46:36 +05:30
prombot 9ab9603f69 Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-06-05 17:47:58 +00:00
dependabot[bot] 9cd52e1e65
build(deps): bump github.com/prometheus/client_golang
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.19.0 to 1.19.1.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.19.0...v1.19.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-05 11:25:01 +00:00
Ben Kochie 0751e19040
Merge pull request #1530 from prometheus/repo_sync
Synchronize common files from prometheus/prometheus
2024-06-05 13:23:41 +02:00
prombot f83013b219 Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-06-03 17:47:46 +00:00
Arthur Silva Sens 8491260a42
Merge pull request #1526 from prometheus/changelog-automation
ci: Group all changelog-related CI jobs into single one
2024-06-03 10:44:29 -03:00
Arthur Silva Sens 57abe22c59
Merge pull request #1527 from prometheus/dependabot/go_modules/github.com/prometheus/procfs-0.15.1
build(deps): bump github.com/prometheus/procfs from 0.13.0 to 0.15.1
2024-06-03 10:26:19 -03:00
dependabot[bot] 3d0a11d34e
build(deps): bump github.com/prometheus/procfs from 0.13.0 to 0.15.1
Bumps [github.com/prometheus/procfs](https://github.com/prometheus/procfs) from 0.13.0 to 0.15.1.
- [Release notes](https://github.com/prometheus/procfs/releases)
- [Commits](https://github.com/prometheus/procfs/compare/v0.13.0...v0.15.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus/procfs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-01 09:14:25 +00:00
Arthur Silva Sens 0f23008245
ci: Group all changelog-related CI jobs into single one
Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
2024-05-31 11:11:36 -03:00
Arthur Silva Sens 4b158abea9
Merge pull request #1525 from SachinSahu431/sachin/update-pr-labeler
Fix: Auto label PRs #1518
2024-05-31 10:50:59 -03:00
Sachin Sahu 3ac5b77351 Remove redundant labels
Signed-off-by: Sachin Sahu <sachinksahu.431@gmail.com>
2024-05-31 19:07:10 +05:30
Sachin Sahu 105a3b72ab
Auto label PRs (#1518)
chore: Automatically add labels to PRs, based on description

Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>
Signed-off-by: Sachin Sahu <75629410+SachinSahu431@users.noreply.github.com>

---------

Signed-off-by: Sachin Sahu <75629410+SachinSahu431@users.noreply.github.com>
Signed-off-by: Sachin Sahu <sachinksahu.431@gmail.com>
Signed-off-by: Kemal Akkoyun <kakkoyun@users.noreply.github.com>
Co-authored-by: Kemal Akkoyun <kakkoyun@users.noreply.github.com>
Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>
2024-05-30 13:50:06 +00:00
Sachin Sahu 2f36f98197
Add PR template for changelog automation (#1517)
* Update CONTRIBUTING.md and PR template

Signed-off-by: Sachin Sahu <75629410+SachinSahu431@users.noreply.github.com>

* Add examples in PR template

Signed-off-by: Sachin Sahu <75629410+SachinSahu431@users.noreply.github.com>

* Add examples in CONTRIBUTING.md

Signed-off-by: Sachin Sahu <75629410+SachinSahu431@users.noreply.github.com>

---------

Signed-off-by: Sachin Sahu <75629410+SachinSahu431@users.noreply.github.com>
2024-05-30 15:37:22 +02:00
Arthur Silva Sens b9b2f62cca
Merge pull request #1524 from prometheus/repo_sync
Synchronize common files from prometheus/prometheus
2024-05-28 17:32:03 -03:00
prombot 9d0a248720 Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-05-28 17:47:42 +00:00
github-actions[bot] c2d0cafdb3
Merge pull request #1522 from prometheus/dependabot/go_modules/google.golang.org/protobuf-1.34.1
build(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1
2024-05-28 05:32:29 +00:00
dependabot[bot] 4816adea5d
build(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1
Bumps google.golang.org/protobuf from 1.34.0 to 1.34.1.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-28 05:28:52 +00:00
github-actions[bot] be1242883e
Merge pull request #1523 from prometheus/dependabot/go_modules/golang.org/x/sys-0.20.0
build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0
2024-05-28 05:28:13 +00:00
dependabot[bot] ce40ef5d28
build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.19.0 to 0.20.0.
- [Commits](https://github.com/golang/sys/compare/v0.19.0...v0.20.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-28 05:24:40 +00:00
PrometheusBot 18b51345cd
Update common Prometheus files (#1514)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-05-16 12:03:10 +01:00
Björn Rabenstein 542f7e6c6e
Merge pull request #1471 from fatsheep9146/native-histogram-exemplar
add native histogram exemplar support
2024-05-16 12:22:21 +02:00
Ziqi Zhao 2754a4c204 fix for comments
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
2024-05-16 18:16:36 +08:00
Arthur Silva Sens cb57abb57d
Merge pull request #1515 from lilijreey/use_time_IsZero
improved code more clean use time.IsZero() replace t = time.Time{}
2024-05-15 11:17:22 -03:00
chuanshuo 47b807e0d7 clean code use time.IsZero() replace t = time.Time{}, make code more readable
Signed-off-by: chuanshuo <lilijreey@126.com>
2024-05-15 22:05:50 +08:00