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.41.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.42.0
Choose a head ref
  • 7 commits
  • 10 files changed
  • 2 contributors

Commits on Feb 24, 2023

  1. version: add Go build tags to output

    Build tags allow different implementations of code sections to be
    included in the binary, so can be important to understand the exact
    behaviour expected at runtime.
    
    This change includes build tags at the end of the `BuildContext` string,
    and as an extra label on the info metric.
    
    Signed-off-by: Bryan Boreham <[email protected]>
    bboreham committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    56d83af View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2023

  1. Add benchmark for ParseDuration

    Signed-off-by: Bryan Boreham <[email protected]>
    bboreham committed Mar 6, 2023
    Configuration menu
    Copy the full SHA
    330a3f5 View commit details
    Browse the repository at this point in the history
  2. Parse Durations much faster

    Without using a regexp.
    
    Code inspired by Go standard library `time.ParseDuration`, but
    simplified and supporting different units.
    
    Signed-off-by: Bryan Boreham <[email protected]>
    bboreham committed Mar 6, 2023
    Configuration menu
    Copy the full SHA
    55b01d1 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #461 from bboreham/faster-parseduration

    Parse Durations much faster
    Julien Pivotto authored Mar 6, 2023
    Configuration menu
    Copy the full SHA
    d7d98af View commit details
    Browse the repository at this point in the history
  4. Merge pull request #455 from bboreham/build-tags

    version: add Go build tags to output
    Julien Pivotto authored Mar 6, 2023
    Configuration menu
    Copy the full SHA
    6a5f4db View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2023

  1. Add support to use Proxy From Environment and set No Proxy

    This commit adds a new field `ProxyFromEnvironment` to the
    `HTTPClientConfig` and `OAuth2` structs to enable Prometheus to use the
    default proxy from the environment variable (as specified in net/http
    ProxyFromEnvironment.) This is opt-out by default, so does not change
    anything for existing users.
    
    This change is necessary because Prometheus previously had insufficient
    behavior to avoid proxying EC2 metadata requests when `proxy_url` is
    set in `ec2_sd_configs`.
    
    This commit also adds the ability to support `no_proxy`.
    
    See prometheus/prometheus#11991
    
    Signed-off-by: Julien Pivotto <[email protected]>
    Julien Pivotto committed Mar 7, 2023
    Configuration menu
    Copy the full SHA
    c8ca1fb View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2023

  1. Merge pull request #462 from roidelapluie/proxyfromenv

    Add support to use Proxy From Environment
    Julien Pivotto authored Mar 8, 2023
    Configuration menu
    Copy the full SHA
    66b493f View commit details
    Browse the repository at this point in the history
Loading