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

Add options to set headers on upstream http requests #154

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Commits on Nov 1, 2023

  1. Added command line option to set arbitrary headers on upstream query …

    …to prometheus
    
    Added option to set host header on upstream query to prometheus - addresses prometheus-community#135
    
    Signed-off-by: Graeme Christie <gchristie@bunnings.com.au>
    graemechristie committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    3c0ae3f View commit details
    Browse the repository at this point in the history
  2. Refactored to use options pattern for new command line args

    Signed-off-by: Graeme Christie <gchristie@bunnings.com.au>
    graemechristie committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    9fef355 View commit details
    Browse the repository at this point in the history
  3. Removed superfluous trimspace()

    Signed-off-by: Graeme Christie <gchristie@bunnings.com.au>
    graemechristie committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    8e48586 View commit details
    Browse the repository at this point in the history
  4. Removed superfluous trimspace()

    Signed-off-by: Graeme Christie <gchristie@bunnings.com.au>
    graemechristie committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    645d631 View commit details
    Browse the repository at this point in the history
  5. Update injectproxy/routes.go

    Co-authored-by: Simon Pasquier <spasquie@redhat.com>
    Signed-off-by: Graeme Christie <gchristie@bunnings.com.au>
    graemechristie and simonpasquier committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    d4088e8 View commit details
    Browse the repository at this point in the history
  6. Update injectproxy/routes.go

    Co-authored-by: Simon Pasquier <spasquie@redhat.com>
    Signed-off-by: Graeme Christie <gchristie@bunnings.com.au>
    graemechristie and simonpasquier committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    5820b25 View commit details
    Browse the repository at this point in the history
  7. Update injectproxy/routes.go

    Co-authored-by: Simon Pasquier <spasquie@redhat.com>
    Signed-off-by: Graeme Christie <gchristie@bunnings.com.au>
    graemechristie and simonpasquier committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    e3b7c3d View commit details
    Browse the repository at this point in the history
  8. Update main.go

    Co-authored-by: Simon Pasquier <spasquie@redhat.com>
    Signed-off-by: Graeme Christie <gchristie@bunnings.com.au>
    graemechristie and simonpasquier committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    3578ebe View commit details
    Browse the repository at this point in the history
  9. Removed unused commented code

    Signed-off-by: Graeme Christie <gchristie@bunnings.com.au>
    graemechristie committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    8a31ee7 View commit details
    Browse the repository at this point in the history
  10. Refactored validation/setting of extraHttpHeaders

    Signed-off-by: Graeme Christie <gchristie@bunnings.com.au>
    graemechristie committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    be913f2 View commit details
    Browse the repository at this point in the history