Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update module github.com/prometheus/client_golang to v1.20.4 #259

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 15, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/prometheus/client_golang v1.19.0 -> v1.20.4 age adoption passing confidence

Release Notes

prometheus/client_golang (github.com/prometheus/client_golang)

v1.20.4

Compare Source

  • [BUGFIX] histograms: Fix a possible data race when appending exemplars vs metrics gather. #​1623

v1.20.3

Compare Source

  • [BUGFIX] histograms: Fix possible data race when appending exemplars. #​1608

v1.20.2

Compare Source

  • [BUGFIX] promhttp: Unset Content-Encoding header when data is uncompressed. #​1596

v1.20.1

Compare Source

  • [BUGFIX] process-collector: Fixed unregistered descriptor error when using process collector with PedanticRegistry on Linux machines. #​1587

v1.20.0

Compare Source

Thanks everyone for contributions!

⚠️ In this release we remove one (broken anyway, given Go runtime changes) metric and add three new (representing GOGC, GOMEMLIMIT and GOMAXPROCS flags) to the default collectors.NewGoCollector() collector. Given its popular usage, expect your binary to expose two additional metric.

Changes

  • [CHANGE] ⚠️ go-collector: Remove go_memstat_lookups_total metric which was always 0; Go runtime stopped sharing pointer lookup statistics. #​1577
  • [FEATURE] ⚠️ go-collector: Add 3 default metrics: go_gc_gogc_percent, go_gc_gomemlimit_bytes and go_sched_gomaxprocs_threads as those are recommended by the Go team. #​1559
  • [FEATURE] go-collector: Add more information to all metrics' HELP e.g. the exact runtime/metrics sourcing each metric (if relevant). #​1568 #​1578
  • [FEATURE] testutil: Add CollectAndFormat method. #​1503
  • [FEATURE] histograms: Add support for exemplars in native histograms. #​1471
  • [FEATURE] promhttp: Add experimental support for zstd on scrape, controlled by the request Accept-Encoding header. #​1496
  • [FEATURE] api/v1: Add WithLimit parameter to all API methods that supports it. #​1544
  • [FEATURE] prometheus: Add support for created timestamps in constant histograms and constant summaries. #​1537
  • [FEATURE] process-collectors: Add network usage metrics: process_network_receive_bytes_total and process_network_transmit_bytes_total. #​1555
  • [FEATURE] promlint: Add duplicated metric lint rule. #​1472
  • [BUGFIX] promlint: Relax metric type in name linter rule. #​1455
  • [BUGFIX] promhttp: Make sure server
    instrumentation wrapping supports new and future extra responseWriter methods. #​1480
  • [BUGFIX] testutil: Functions using compareMetricFamilies are now failing if filtered metricNames are not in the input. #​1424
All commits

New Contributors

Full Changelog: prometheus/client_golang@v1.19.1...v1.20.0

v1.19.1

Compare Source

What's Changed

  • Security patches for golang.org/x/sys and google.golang.org/protobuf

New Contributors

Full Changelog: prometheus/client_golang@v1.19.0...v1.19.1


Configuration

📅 Schedule: Branch creation - "* 0-4 * * 3" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch 5 times, most recently from bcaca70 to 394ff04 Compare May 17, 2024 21:54
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 394ff04 to 7e811d6 Compare May 24, 2024 10:10
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch 2 times, most recently from 839500b to 02f9d8e Compare June 14, 2024 08:47
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch 4 times, most recently from 01fd60a to 0ad4b6a Compare July 3, 2024 11:51
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch 3 times, most recently from 78dd2dd to fa1dc8e Compare July 17, 2024 08:03
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from fa1dc8e to 66d535a Compare August 18, 2024 16:42
@renovate renovate bot changed the title Update module github.com/prometheus/client_golang to v1.19.1 Update module github.com/prometheus/client_golang to v1.20.0 Aug 18, 2024
Copy link
Contributor Author

renovate bot commented Aug 18, 2024

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 7 additional dependencies were updated

Details:

Package Change
google.golang.org/protobuf v1.34.1 -> v1.34.2
github.com/cespare/xxhash/v2 v2.2.0 -> v2.3.0
github.com/prometheus/client_model v0.5.0 -> v0.6.1
github.com/prometheus/common v0.48.0 -> v0.55.0
github.com/prometheus/procfs v0.12.0 -> v0.15.1
golang.org/x/sys v0.18.0 -> v0.22.0
golang.org/x/text v0.14.0 -> v0.16.0

@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 66d535a to 43c8c94 Compare August 21, 2024 15:19
Copy link

[puLL-Merge] - prometheus/[email protected]

Description

This PR updates the client_golang library with various improvements and new features. The main changes include updates to Go collector metrics, enhancements to HTTP compression support, and improvements to testing and documentation.

Changes

Changes

  1. .github/workflows/:

    • Updated various GitHub Actions workflows, including adding new ones for container description and Dagger-based linting.
    • Updated dependencies and Go versions in existing workflows.
  2. dagger/:

    • Added new Dagger-related files for CI/CD improvements.
  3. prometheus/:

    • Updated Go collector metrics and tests for different Go versions.
    • Added support for zstd compression in HTTP responses.
    • Improved histogram implementation with exemplar support.
    • Enhanced testutil package with new functions and improvements.
    • Updated various dependencies.
  4. prometheus/collectors/:

    • Added new metrics and updated existing ones for different Go versions.
    • Improved Go collector implementation.
  5. prometheus/promhttp/:

    • Added support for zstd compression.
    • Improved HTTP handler implementation.
  6. Root directory:

    • Added supported_go_versions.txt and update-go-version.bash for managing supported Go versions.
    • Updated CHANGELOG.md, README.md, and other documentation files.

Possible Issues

  • The changes to the Go collector metrics might require updates in existing monitoring setups.
  • The addition of zstd compression support might need configuration changes in environments using this library.

Security Hotspots

No significant security issues were identified in this change.

@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch 4 times, most recently from b47f6cc to d289dd4 Compare August 24, 2024 12:05
@renovate renovate bot changed the title Update module github.com/prometheus/client_golang to v1.20.0 Update module github.com/prometheus/client_golang to v1.20.1 Aug 24, 2024
Copy link

[puLL-Merge] - prometheus/[email protected]

Description

This PR updates the client_golang repository with several improvements and changes. The main motivations appear to be updating Go versions, improving test coverage, adding new features, and general maintenance.

Changes

Changes

  1. .github/workflows/:

    • Updated various GitHub Actions workflows, including adding new ones for container description pushing and Dagger-based linting.
    • Updated dependencies and Go versions in existing workflows.
  2. dagger/:

    • Added new Dagger configuration and Go files for CI/CD improvements.
  3. prometheus/:

    • Updated Go collector metrics and tests for newer Go versions.
    • Added support for exemplars in native histograms.
    • Improved error handling and logging in various parts of the code.
    • Added new compression options (zstd) for HTTP responses.
    • Updated dependencies and Go versions.
  4. prometheus/testutil/:

    • Improved test utilities and added new functions like CollectAndFormat.
  5. prometheus/promhttp/:

    • Added support for zstd compression in HTTP responses.
    • Improved handling of response writer unwrapping for better compatibility.
  6. Root directory:

    • Added supported_go_versions.txt and update-go-version.bash for managing supported Go versions.
    • Updated CHANGELOG.md, README.md, and other documentation files.
  7. Renamed tutorial directory to tutorials.

Possible Issues

  1. The removal of go_memstat_lookups_total metric might affect existing users who rely on this metric.
  2. Changes to default metrics and compression behavior might require updates to existing monitoring setups.

Security Hotspots

  1. The addition of zstd compression support in promhttp/http.go should be carefully reviewed to ensure it doesn't introduce any security vulnerabilities.
  2. The new Dagger-based CI/CD configurations should be audited to ensure they don't expose any sensitive information or introduce new attack vectors.

@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from d289dd4 to fecb333 Compare August 27, 2024 21:20
@renovate renovate bot changed the title Update module github.com/prometheus/client_golang to v1.20.1 Update module github.com/prometheus/client_golang to v1.20.2 Aug 27, 2024
Copy link

[puLL-Merge] - prometheus/[email protected]

Description

This PR updates various aspects of the client_golang project, including dependency updates, code improvements, and the addition of new features. The main changes include updating Go versions, improving the Go collector, adding support for zstd compression, and enhancing the test suite.

Changes

Changes

  1. .github/workflows/:

    • Updated various GitHub Actions workflows, including adding new ones for container description pushing and Dagger-based linting.
    • Added concurrency settings to existing workflows.
  2. dagger/:

    • Added new Dagger-related files for CI/CD improvements.
  3. prometheus/:

    • Updated go_collector.go with improvements to metrics collection and descriptions.
    • Added support for zstd compression in promhttp/http.go.
    • Enhanced histogram functionality in histogram.go, including support for exemplars in native histograms.
    • Improved test coverage and added new test cases in various files.
  4. prometheus/testutil/:

    • Added new linting rules and improved existing ones in promlint/.
  5. Root directory:

    • Updated go.mod and go.sum with new dependencies and versions.
    • Added supported_go_versions.txt and update-go-version.bash for managing supported Go versions.
  6. Renamed tutorial/ to tutorials/ and updated related imports.

Possible Issues

  1. The changes to the Go collector and the addition of new metrics might require users to update their monitoring configurations.
  2. The introduction of zstd compression support might need additional testing in various environments to ensure compatibility.

Security Hotspots

No significant security issues were identified in this change. However, the introduction of new dependencies and compression algorithms (zstd) should be thoroughly tested to ensure they don't introduce any vulnerabilities.

@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from fecb333 to 677b0f1 Compare September 9, 2024 12:57
@renovate renovate bot changed the title Update module github.com/prometheus/client_golang to v1.20.2 Update module github.com/prometheus/client_golang to v1.20.3 Sep 9, 2024
Copy link

github-actions bot commented Sep 9, 2024

[puLL-Merge] - prometheus/[email protected]

Description

This PR makes several significant changes to the client_golang repository, including updating dependencies, adding new features, refactoring existing code, and improving test coverage. The changes span across multiple files and introduce new functionality while also addressing some existing issues.

Changes

Changes

  1. .github/workflows/:

    • Updated various GitHub Actions workflows, including dependency automerge, CodeQL analysis, and Go tests.
    • Added new workflows for container description updates and Dagger-based linting.
  2. dagger/:

    • Introduced Dagger for CI/CD purposes, including new configuration files and Go code.
  3. prometheus/:

    • Updated Go collector metrics generation and testing.
    • Improved histogram implementation, including support for exemplars in native histograms.
    • Enhanced process collector with network usage metrics.
    • Updated and refactored various test files.
    • Improved registry implementation.
  4. prometheus/promhttp/:

    • Added support for zstd compression in HTTP responses.
    • Improved handling of response writer delegation.
  5. prometheus/testutil/:

    • Enhanced test utilities, including new comparison functions and error reporting.
  6. Root directory:

    • Updated dependencies in go.mod and go.sum.
    • Added scripts for updating Go versions and generating metrics.
    • Renamed 'tutorial' directory to 'tutorials'.

Possible Issues

  1. The change from tutorial to tutorials directory may break existing imports or documentation references.
  2. The introduction of Dagger for CI/CD might require additional setup or knowledge for contributors.

Security Hotspots

  1. The addition of zstd compression support in prometheus/promhttp/http.go should be carefully reviewed to ensure it doesn't introduce any security vulnerabilities related to data compression/decompression.

@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 677b0f1 to fb7031f Compare September 17, 2024 09:11
@renovate renovate bot changed the title Update module github.com/prometheus/client_golang to v1.20.3 Update module github.com/prometheus/client_golang to v1.20.4 Sep 17, 2024
Copy link

[puLL-Merge] - prometheus/[email protected]

Description

This PR introduces several significant changes to the prometheus/client_golang repository. It updates dependencies, adds new features, improves existing functionality, and introduces new testing capabilities. The changes span across multiple areas of the codebase, including core functionality, examples, and CI/CD workflows.

Changes

Changes

  1. .github/workflows/:

    • Updated various GitHub Actions workflows, including dependency auto-merging, CodeQL analysis, and Go testing.
    • Added new workflows for pushing README to Docker Hub and Quay.io, and for updating Go versions.
  2. dagger/:

    • Added a new directory with Dagger-related files for CI/CD improvements.
  3. prometheus/:

    • Updated Go collector metrics and added support for new Go versions.
    • Improved histogram functionality, including support for exemplars in native histograms.
    • Enhanced process collector with network usage metrics.
    • Updated and improved various tests.
  4. prometheus/promhttp/:

    • Added support for zstd compression in HTTP responses.
    • Improved content negotiation for compression.
  5. prometheus/testutil/:

    • Added new CollectAndFormat method.
    • Improved metric comparison functionality.
  6. General:

    • Updated Go versions support (1.20, 1.21, 1.22).
    • Renamed tutorial directory to tutorials.
    • Added scripts for updating Go versions automatically.

Possible Issues

  1. The changes to compression support in promhttp may require careful testing to ensure compatibility with existing clients.
  2. The updates to Go versions and collector metrics might impact projects relying on specific behavior of older versions.

Security Hotspots

  1. The addition of zstd compression support in promhttp should be carefully reviewed to ensure it doesn't introduce any security vulnerabilities related to compression bombs or similar attacks.

This PR represents a significant update to the prometheus/client_golang library, improving its functionality, performance, and maintainability across various areas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants