Commit Graph

1741 Commits

Author SHA1 Message Date
bwplotka 23879d69c3 Addressed comments on Arianna's PR.
Signed-off-by: bwplotka <bwplotka@gmail.com>
2024-08-09 11:48:58 +01:00
bwplotka b8a9eb7b75 1.21 update.
Signed-off-by: bwplotka <bwplotka@gmail.com>
2024-08-09 11:01:18 +01:00
Arianna Vespri ed4053dc7b Go version expected default runtime metrics map for tests
Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
2024-08-06 17:53:23 +02:00
Arianna Vespri 20ebd6ccd2 Move default runtime metrics into the runtime metrics flow, change tests accordingly
Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
2024-08-06 16:44:57 +02:00
Arianna Vespri a04c89174c Merge remote-tracking branch 'prometheus/main' into add-three-to-default-go-runtime-metrics 2024-08-03 16:10:28 +02:00
github-actions[bot] 46f77a97fa
Merge pull request #1571 from prometheus/dependabot/github_actions/github-actions-1edf403647
build(deps): bump the github-actions group with 3 updates
2024-08-01 09:57:16 +00:00
github-actions[bot] f751d1363b
Merge pull request #1570 from prometheus/dependabot/go_modules/golang.org/x/sys-0.22.0
build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0
2024-08-01 09:56:23 +00:00
dependabot[bot] 7983708ebd
build(deps): bump the github-actions group with 3 updates
Bumps the github-actions group with 3 updates: [github/codeql-action](https://github.com/github/codeql-action), [actions/setup-go](https://github.com/actions/setup-go) and [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action).


Updates `github/codeql-action` from 3.25.13 to 3.25.15
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](2d790406f5...afb54ba388)

Updates `actions/setup-go` from 5.0.1 to 5.0.2
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v5.0.1...v5.0.2)

Updates `golangci/golangci-lint-action` from 6.0.1 to 6.1.0
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](a4f60bb28d...aaa42aa062)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-01 09:53:37 +00:00
dependabot[bot] 2e98f83366
build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.21.0 to 0.22.0.
- [Commits](https://github.com/golang/sys/compare/v0.21.0...v0.22.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-08-01 09:52:29 +00:00
Bartlomiej Plotka 0ce6d719bc
go collector: add default metrics acceptance tests; adding more context to HELP (#1568)
* go collector: add default metrics acceptance tests; adding more context to HELP

The context and details for help were possible thanks to @vesari research, thanks for that!

Signed-off-by: bwplotka <bwplotka@gmail.com>

* Update prometheus/go_collector.go

Co-authored-by: Arianna Vespri <36129782+vesari@users.noreply.github.com>
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>

---------

Signed-off-by: bwplotka <bwplotka@gmail.com>
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
Co-authored-by: Arianna Vespri <36129782+vesari@users.noreply.github.com>
2024-08-01 09:24:31 +01:00
Bartlomiej Plotka 697372d81e
tutorials: Renamed for consistency + fixed tutorial code. (#1569) 2024-07-31 14:06:25 +02:00
PrometheusBot 0581180d24
Update common Prometheus files (#1567)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-07-30 07:49:57 +01:00
Bartlomiej Plotka d7f83d1629
deps: Updated to prometheus/common to 0.55 (#1566)
Signed-off-by: bwplotka <bwplotka@gmail.com>
2024-07-29 15:05:07 +01:00
github-actions[bot] cbfe44a2f2
Merge pull request #1551 from prometheus/dependabot/go_modules/google.golang.org/protobuf-1.34.2
build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2
2024-07-29 10:31:27 +00:00
Bartlomiej Plotka f8718b0c47
Merge branch 'main' into dependabot/go_modules/google.golang.org/protobuf-1.34.2 2024-07-29 12:27:38 +02:00
PrometheusBot 6f511c3f23
Update common Prometheus files (#1563)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-07-29 11:27:25 +01:00
Arianna Vespri e4a5adeb4d Merge remote-tracking branch 'prometheus/main' into add-three-to-default-go-runtime-metrics 2024-07-22 15:52:23 +02:00
Arianna Vespri 6478f56935 Remove debuggin line
Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
2024-07-22 14:23:35 +02:00
Arianna Vespri 0b3a6f04f8 Fix go mod
Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
2024-07-22 14:16:56 +02:00
Arianna Vespri fb0afbe40d Make goRuntimeEnvVarsMetrics function Go version dependent
Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
2024-07-22 14:10:45 +02:00
Arianna Vespri 4490f8d9b8 Correct loop, add debugging lines
Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
2024-07-22 13:42:49 +02:00
Arianna Vespri 5d9b680e77 Simplify new metrics reading
Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
2024-07-21 18:15:48 +02:00
Arianna Vespri 17b306559d Rethink struct for newly added metrics, adapt and add tests
Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
2024-07-21 10:17:02 +02:00
github-actions[bot] 9f203a098e
Merge pull request #1565 from prometheus/dependabot/github_actions/github-actions-fde7c240f8
build(deps): bump the github-actions group across 1 directory with 3 updates
2024-07-19 16:17:11 +00:00
dependabot[bot] 3d81bddb0f
build(deps): bump the github-actions group across 1 directory with 3 updates
Bumps the github-actions group with 3 updates in the / directory: [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata), [github/codeql-action](https://github.com/github/codeql-action) and [actions/setup-go](https://github.com/actions/setup-go).


Updates `dependabot/fetch-metadata` from 2.1.0 to 2.2.0
- [Release notes](https://github.com/dependabot/fetch-metadata/releases)
- [Commits](5e5f99653a...dbb049abf0)

Updates `github/codeql-action` from 3.25.3 to 3.25.13
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](d39d31e687...2d790406f5)

Updates `actions/setup-go` from 5.0.0 to 5.0.2
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v5...v5.0.2)

---
updated-dependencies:
- dependency-name: dependabot/fetch-metadata
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-19 16:13:47 +00:00
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
Arianna Vespri 5d64fb7625 Move newly added metrics out of base metrics and into goCollector
Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
2024-07-19 15:14:03 +02: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
dependabot[bot] 1b23087a63
build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2
Bumps google.golang.org/protobuf from 1.34.1 to 1.34.2.

---
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-07-12 12:27:14 +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
Arianna Vespri cd8445b70b Add go_gomaxprocs, go_gogc_percent and go_gomemlimit to the default Go runtime metrics
Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
2024-07-11 16:36:45 +02: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