bwplotka
8b36dcd0c3
tutorial: GopherCon UK 2024 tutorial resources.
...
Signed-off-by: bwplotka <bwplotka@gmail.com>
2024-08-16 09:57:20 +01:00
bwplotka
4a89126c84
gocollector: Attach original runtime/metrics metric name to help.
...
This helps in filtering capabilities and generally in discovery/knowledge sharing.
Signed-off-by: bwplotka <bwplotka@gmail.com>
2024-08-14 13:21:04 +01:00
Bartlomiej Plotka
062300ede9
Remove go_memstat_lookups_total; added runtime/metrics calculation to memstat metric's help. ( #1577 )
...
* Removeed go_memstat_lookups_total which was always set to 0; added runtime/metrics info to memstat metric helps.
I know we ideally should not remove any metric from default list, but
this one is always zero, so let's save everyone's money.
Signed-off-by: bwplotka <bwplotka@gmail.com>
* Update prometheus/go_collector.go
Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.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: Arthur Silva Sens <arthursens2005@gmail.com>
2024-08-14 12:11:51 +00:00
PrometheusBot
aa3c00d2ee
Update common Prometheus files ( #1576 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-08-11 18:16:49 +01:00
Arianna Vespri
3ad272204b
Add default Go runtime metrics for /gc/gogc:percent, /gc/gomemlimit:bytes, /sched/gomaxprocs:threads ( #1559 )
...
* Add go_gomaxprocs, go_gogc_percent and go_gomemlimit to the default Go runtime metrics
Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
* Move newly added metrics out of base metrics and into goCollector
Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
* Rethink struct for newly added metrics, adapt and add tests
Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
* Simplify new metrics reading
Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
* Correct loop, add debugging lines
Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
* Make goRuntimeEnvVarsMetrics function Go version dependent
Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
* Fix go mod
Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
* Remove debuggin line
Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
* Move default runtime metrics into the runtime metrics flow, change tests accordingly
Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
* Go version expected default runtime metrics map for tests
Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
* 1.21 update.
Signed-off-by: bwplotka <bwplotka@gmail.com>
* Addressed comments on Arianna's PR.
Signed-off-by: bwplotka <bwplotka@gmail.com>
* Use default GoCollector func in test
Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
---------
Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
Signed-off-by: bwplotka <bwplotka@gmail.com>
Co-authored-by: bwplotka <bwplotka@gmail.com>
2024-08-09 20:27:25 +01:00
PrometheusBot
071572721c
Update common Prometheus files ( #1573 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-08-09 11:29:19 +01:00
Marcos Nils
3634bd9bda
ci: daggerize test and lint pipelines ( #1534 )
...
* ci: daggerize go.yml pipeline
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
* ci: upgrade dagger to v0.12 and apply comment fixes
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
* rename dagger function to make it more descriptive
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
---------
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
Co-authored-by: Kemal Akkoyun <kakkoyun@users.noreply.github.com>
2024-08-07 14:49:16 +02:00
Arthur Silva Sens
28b5e6e136
Merge pull request #1572 from prometheus/repo_sync
...
Synchronize common files from prometheus/prometheus
2024-08-06 15:34:54 -03:00
prombot
8e18075c9e
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-08-01 17:47:58 +00: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
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
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
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