Skip to content

Feature implementation from commits 1f09abb..02883cb #1

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

Open
wants to merge 14 commits into
base: feature-base-1
Choose a base branch
from

Conversation

yashuatla
Copy link
Owner

@yashuatla yashuatla commented Jun 25, 2025

PR Summary

Add Time Function Field to Summary Struct for Testing

Overview

This PR adds a new field now func() time.Time to the summary struct in the prometheus package to facilitate testing.

Change Types

Type Description
Enhancement Added a new field to summary struct for testing purposes

Affected Modules

Module / File Change Description
summary.go Added now func() time.Time field to summary struct

jkroepke and others added 14 commits October 31, 2024 14:09
Signed-off-by: Jan-Otto Kröpke <[email protected]>
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.25.0 to 0.26.0.
- [Commits](golang/sys@v0.25.0...v0.26.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
…les/github.com/klauspost/compress-1.17.11

build(deps): bump github.com/klauspost/compress from 1.17.10 to 1.17.11
…les/golang.org/x/sys-0.26.0

build(deps): bump golang.org/x/sys from 0.25.0 to 0.26.0
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.59.1 to 0.60.1.
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md)
- [Commits](prometheus/common@v0.59.1...v0.60.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
…les/github.com/prometheus/common-0.60.1

build(deps): bump github.com/prometheus/common from 0.59.1 to 0.60.1
Bumps google.golang.org/protobuf from 1.34.2 to 1.35.1.

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

Signed-off-by: dependabot[bot] <[email protected]>
…les/google.golang.org/protobuf-1.35.1

build(deps): bump google.golang.org/protobuf from 1.34.2 to 1.35.1
fix: use injected now() instead of time.Now() in summary methods
…s#1660)

The header has a warning when included, with no way to shut it off, and no
alternative to obtain these symbols.  They're technically architecture specific
values, but they aren't different between amd64 and arm64, so combine the
definitions.

Signed-off-by: Matt Harbison <[email protected]>
process_collector: avoid a compiler warning on macOS (fixes prometheus#1660)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants