Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: prometheus/common
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.35.0
Choose a base ref
...
head repository: prometheus/common
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.37.0
Choose a head ref
  • 11 commits
  • 14 files changed
  • 4 contributors

Commits on Jun 28, 2022

  1. add User-Agent header to oauth2 requests

    Signed-off-by: clayton-gonsalves <gonsalves.clayton@yahoo.co.in>
    cig2312 committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    99a1aca View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2022

  1. Use WithUserAgent

    Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
    Julien Pivotto committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    316097c View commit details
    Browse the repository at this point in the history
  2. Use full roundtripper

    Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
    Julien Pivotto committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    2d0de85 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2022

  1. config: fix testdata for Go 1.18

    The TLS certificates were signed using SHA-1 and Go 1.18 rejects them by
    default [1]. This commit provides certificates signed with SHA-256. The
    code to generate the certificates is based on existing code from the
    prometheus-operator project [2].
    
    [1] https://tip.golang.org/doc/go1.18#sha1
    [2] https://github.com/prometheus-operator/prometheus-operator/blob/main/scripts/certs/generate.go
    
    Signed-off-by: Simon Pasquier <spasquie@redhat.com>
    simonpasquier committed Jul 8, 2022
    Configuration menu
    Copy the full SHA
    5ab1c85 View commit details
    Browse the repository at this point in the history
  2. Fix comment

    Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
    Julien Pivotto committed Jul 8, 2022
    Configuration menu
    Copy the full SHA
    db0284d View commit details
    Browse the repository at this point in the history
  3. Update to Go 1.18

    Signed-off-by: Simon Pasquier <spasquie@redhat.com>
    simonpasquier committed Jul 8, 2022
    Configuration menu
    Copy the full SHA
    aeda642 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #388 from simonpasquier/fix-tls-tests-for-go-1.18

    Fix tls tests for go 1.18
    simonpasquier authored Jul 8, 2022
    Configuration menu
    Copy the full SHA
    d75e027 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #387 from roidelapluie/useragent

    Useragent for OAuth2
    Julien Pivotto authored Jul 8, 2022
    Configuration menu
    Copy the full SHA
    cdc09f0 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2022

  1. OAuth2: Respect disable keepalives option; Implement close idle conne…

    …ctions (#390)
    
    Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
    Julien Pivotto authored Jul 11, 2022
    1 Configuration menu
    Copy the full SHA
    b86ea81 View commit details
    Browse the repository at this point in the history
  2. config: ignore deprecated warning in tests (#389)

    (*CertPool).Subjects is deprecated in Go 1.18 because it may not include
    the system certs but it isn't a problem for the tests because we're not
    loading the system certs.
    
    Signed-off-by: Simon Pasquier <spasquie@redhat.com>
    simonpasquier authored Jul 11, 2022
    Configuration menu
    Copy the full SHA
    c5e1b60 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2022

  1. Improve OAuth2 user agent handling (#391)

    Instead of relying on the User Agent in the configuration, take the User
    Agent of the original request. This enables compatibility with existing
    user agents.
    
    Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
    Julien Pivotto authored Jul 14, 2022
    Configuration menu
    Copy the full SHA
    49b3603 View commit details
    Browse the repository at this point in the history
Loading