46 Commits (af1a19fc78ac7f7c3164bfb240d48d091f0ada1f)

Author SHA1 Message Date
Matthieu MOREL d496687c8e golangci-lint: enable usestdlibvars linter 8 months ago
Łukasz Mierzwa 5597020a60 Use github.com/klauspost/compress for gzip and zlib 9 months ago
Julien Pivotto d19fa62476 Revert "Improving Performance on the API Gzip Handler (#12363)" 1 year ago
Alan Protasio dfae954dc1
Improving Performance on the API Gzip Handler (#12363) 2 years ago
Matthieu MOREL e2ede285a2
refactor: move from io/ioutil to io and os packages (#10528) 3 years ago
Julien Pivotto 9a2e93228e
Switch to grafana/regexp everywhere (#10268) 3 years ago
Paweł Szulik f5563bfe95
tests: Move from t.Errorf and others. (Part 2) (#9309) 3 years ago
Björn Rabenstein bc703b6456
Use `struct{}` as underlying type for context keys (#6965) 5 years ago
Peter Štibraný a7d3a456d6 Updated code based on Juliens comments (via Slack). 5 years ago
Peter Štibraný fe3fe5740e Updated comment. 5 years ago
Peter Štibraný baa6f60384 Changed var name. 5 years ago
Peter Štibraný 318cd413fc Don't return error in ContextFromRequest function. 5 years ago
Julien Pivotto 5f27ac3583 Refactor query log fields (#6694) 5 years ago
Julien Pivotto e7f7b6a06f Query Log: Add source IP from console queries (#6593) 5 years ago
zhulongcheng 970ef41bb6 Fix exported function comments (#6002) 5 years ago
Hrishikesh Barman 9c4e258651 corrected regex string check for anyorigin(*) (#5117) 6 years ago
Hrishikesh Barman a1f34bec2e Added CORS Origin flag (#5011) 6 years ago
Simon Pasquier f678e27eb6
*: use latest release of staticcheck (#5057) 6 years ago
Tariq Ibrahim a188693015 Adding unit tests for the util package (#4534) 6 years ago
Adam Shannon 809881d7f5 support reading basic_auth password_file for HTTP basic auth (#4077) 7 years ago
Philippe Laflamme 2aba238f31 Use common HTTPClientConfig for marathon_sd configuration (#4009) 7 years ago
ferhat elmas ffa673f7d8 General simplifications (#3887) 7 years ago
Krasi Georgiev 4d47a48422 client test comment nits. 7 years ago
Krasi Georgiev d202718116 read bearer token on every request , + some http and scrape tests 7 years ago
Shubheksha Jalan 0471e64ad1 Use shared types from the `common` repo (#3674) 7 years ago
Shubheksha Jalan ec94df49d4 Refactor SD configuration to remove `config` dependency (#3629) 7 years ago
Bryan Boreham a8cce41882 Set MaxIdleConnsPerHost alongside MaxIdleConns (#3592) 7 years ago
Tom Wilkie 9c3c98e8de Revert "Port 'Don't disable HTTP keep-alives for remote storage connections.' to 2.0 (see #3173)" 7 years ago
Bryan Boreham 0997191b18 Port 'Don't disable HTTP keep-alives for remote storage connections.' to 2.0 (see #3173) 7 years ago
Marc Sluiter 6a633eece1 Added go-conntrack for monitoring http connections (#3241) 7 years ago
Bryan Boreham a03193232a Don't disable HTTP keep-alives for remote storage connections. (#3173) 7 years ago
Bryan Boreham e0a4d18301 Allow http keep-alive setting to be overridden in config 7 years ago
Fabian Reinartz 9516d04472 util: Add idle timeout for scrape connections 7 years ago
Pablo Andres Fuente c79a4db812 Adding tests for util/httputil/client (#3002) 7 years ago
Conor Broderick 6766123f93 Replace regex with Secret type and remarshal config to hide secrets (#2775) 8 years ago
Julius Volz 815762a4ad Move retrieval.NewHTTPClient -> httputil.NewClientFromConfig 8 years ago
Tom Wilkie 4520e12440 Add HTTP Basic Auth & TLS support to the generic write path. (#1957) 8 years ago
Gregory G. Tseng 7997c14b0d Add ServerName into TLS Config 9 years ago
Julius Volz af513468eb Fix some dead code, missing error checks, shadowings. 9 years ago
Jimmi Dyson a1574aa2b3 Move TLS options to scrape config 9 years ago
Jimmi Dyson 923f8111d4 Initial Kubernetes discovery 9 years ago
Will Rouesnel 7810448dbe Add proxy_url parameter to allow specifying per-job HTTP proxy servers 9 years ago
Jimmi Dyson 52cf6b3e6e Configuration options for bearer tokens, client certs & CA certs 9 years ago
Fabian Reinartz 834cec44cf httputil: remove non-general helper functions 10 years ago
Fabian Reinartz 0de6edbdfc Move pkg/ to util/ 10 years ago