Commit Graph

704 Commits (f36915b6b14e3b54132a9cd701835d0255741f96)

Author SHA1 Message Date
Fish-pro 43d77f7c41 Use http constants instead of string
2 years ago
Peter Nicholson 138a1362d8 Add support for EndpointSlice conditions
2 years ago
Frederic Branczyk 9f91215bf6
Merge pull request #11844 from bawhetst/add-pod-container-id
2 years ago
Bryan Boreham b768247df8
Merge pull request #11760 from bboreham/discovery-log-setname
2 years ago
Bryan Boreham 2f58be840d service discovery: add config name to log messages
2 years ago
Ben Whetstone 32e9f6a39c Add container ID as a meta label for pod targets
2 years ago
Jens Erat 728fdc959e
Kubernetes SD: disable resync timer
2 years ago
David Fridman 52adf55631
Add VM size label to azure service discovery (#11575) (#11650)
2 years ago
Julien Pivotto 3677d61a4b Update kubernetes dependencies
2 years ago
Aaron George d542483e8c k8s discovery: Ensure that the pod IP is in the status before adding to target group
2 years ago
Levi Harrison f81fae2414
Add common HTTP client to AWS SDs (#11611)
2 years ago
Michael Fuller 15ba7a0d2d
file sd: create and increment an inotify error counter when file-SD i… (#11066)
2 years ago
Julien Pivotto 7a67a728a8
Followup on OVHCloud merge (#11529)
2 years ago
Marine Bal 16c3aa75c0
Add service discovery for OvhCloud (#10802)
2 years ago
Viacheslav Panasovets 3d2e18bad5
Fix time.Since() in defer. Wrap in anonymous function (#11489)
2 years ago
David Cañadillas 51a44e6657
Adding Consul Enterprise Admin Partitions (#11482)
2 years ago
Maciej Borsz 56eba3ace2 Use protobuf encoding in client-go
2 years ago
Brian Candler 4a493db432
Add __meta_ec2_region label (#11326)
2 years ago
Julien Pivotto 96d5a32659
Update go to 1.19, set min version to 1.18 (#11279)
2 years ago
Julien Pivotto 15fa34936b
PuppetDB SD: Add __meta_puppetdb_query label (#11238)
2 years ago
Cosrider bef6556ca5
delete redundant alias (#11180)
2 years ago
Renato Costa d521933053
Fix incorrect use of loop variable in parallel test (#11205)
2 years ago
Karl Piplies 3782cb40d5 add loadbalancerip to service labels
2 years ago
David Leadbeater d677ec489e
Support using MX records for DNS discovery (#10099)
2 years ago
Abirdcfly 465558e93a
fix minor code unreachability error (#11040)
2 years ago
Frederic Branczyk 414c3e549c
Merge pull request #11002 from yngwiewang/feature/k8s-service-port-number
2 years ago
Robert Fratto 97be65387d discovery/kubernetes: fix broken tests
2 years ago
Robert Fratto 823d24d1e9 discovery/kubernetes: add container image as metadata
2 years ago
yngwiewang 1abbf5a5c5 add __meta_kubernetes_service_port_number (#10945)
2 years ago
Julien Pivotto 466f053a6e nomad: Use failuresCount counter
2 years ago
Julien Pivotto d9347bf128 nomad: Fix documentation and comments.
2 years ago
Bram Vogelaar 4456dcc26e feat(nomad): add nomad service discovery
2 years ago
Filip Petkovski 05da373dcb
kubernetes_sd: Allow attaching node labels for endpoint role
2 years ago
Sebastian Poxhofer 3f9a9d1e62
chore(discoveryManager): expose Discoverer refresh function (#10531)
2 years ago
Julien Pivotto e4a09f2b4b
uyuni: Use default HTTP client and set relative paths (#10814)
3 years ago
Filip Petkovski 7a78897d0b
Improve reliability of Kubernetes SD tests (#10761)
3 years ago
Julien Pivotto 143a760e76
Hetzner SD: Implement set directory (#10813)
3 years ago
Matthieu MOREL f43749e82f
refactor (discovery): move from github.com/pkg/errors to 'errors' and 'fmt' (#10807)
3 years ago
David Leadbeater 57f4aab27d
Update godoc links and remove note about TSDB versioning (#10754)
3 years ago
Julien Pivotto 1afe72f0af vultr: ram is in mb, not bytes
3 years ago
Julien Pivotto c9d4e5fc94 vultr: minor fixups
3 years ago
David Dymko 3ef153b00c vultr integration
3 years ago
Felix Ehrenpfort ce3bc818a8
Add service discovery for IONOS Cloud (#10514)
3 years ago
TJ Hoplock c40e269c3e
feat: add linode SD failure count metric (#10673)
3 years ago
Matthieu MOREL e2ede285a2
refactor: move from io/ioutil to io and os packages (#10528)
3 years ago
David Heap 685493187e
Support numerical labels in PuppetDB service discovery (#10633)
3 years ago
Jinwook Jeong c7c7847b6f Fix discovery managers to be properly cancelled
3 years ago
nixargh e76c6aac50 Fix #10507: explicitly include gcp auth from k8s.io to kubernetes discovery
3 years ago
David N Perkins ed0c68224e
Azure SD Failure metric and 404 Handling (#10476)
3 years ago
Sylvain Rabot c31a3e4c92
Build with Go 1.18 (#10501)
3 years ago
Julien Pivotto 98039cddfa
Update Prometheus common (#10492)
3 years ago
David N Perkins b13aec9167
Merge pull request #10365 from David-N-Perkins/azure-resource-group-filter
3 years ago
Robert Fratto 44a5e705be
discovery: Expose custom HTTP client options to discoverers (#10462)
3 years ago
Furkan 2939966634
Kubernetes SD: Support discovery.k8s.io/v1 EndpointSlice
3 years ago
fpetkovski 16bd0d7d5c
Index pods by node name
3 years ago
fpetkovski fa798d3042
Allow attaching node metadata
3 years ago
Ujjwal Goyal 9e7ae4d963
Use containers labels instead of task labels from Docker Swarm SD (#9187) (#10311)
3 years ago
David N Perkins 097b359b41
Added a failure counter to the HTTP service discovery (#10372)
3 years ago
Łukasz Mierzwa a4317bf0ec
Run gofumpt on all files (#10392)
3 years ago
cui fliter c9b56d1a49
all: fix some typos (#10389)
3 years ago
Chris Marchbanks 3e0a0a5d59
Fix Scaleway test
3 years ago
David N Perkins fcb6f18122
Uyuni login less often (#10072)
3 years ago
Julien Pivotto 9a2e93228e
Switch to grafana/regexp everywhere (#10268)
3 years ago
Julien Pivotto b0d70557b7
Merge pull request #10285 from prometheus/release-2.33
3 years ago
Julien Pivotto 002ceb7232 Fix panic in Azure SD when no public interface is set.
3 years ago
johncming 37c6ef9661
discovery/digitalocean: make do api be aware of discovery context. (#10281)
3 years ago
Levi Harrison 1b3443ede1
Azure: Fix panic when IP Address isn't set (#10280)
3 years ago
Björn Rabenstein 5851557a28
Merge pull request #10250 from prometheus/beorn7/cleaning-up-cherrypicking-fallout
3 years ago
Robert Fratto 516579a97e
discovery/targetgroup: support marshaling to JSON (#10229)
3 years ago
beorn7 35010daa90 Merge branch 'release-2.33' into beorn7/cleaning-up-cherrypicking-fallout
3 years ago
Julien Pivotto 9d63502204 k8s: improve 'own_namespace'
3 years ago
Georg Gadinger c85efa02d9 Fix k8s target discovery when not running inside k8s
3 years ago
Georg Gadinger 4663f814d6 Fix k8s target discovery when not running inside k8s
3 years ago
Julien Pivotto 18d737de3e
Azure SD: Set Prometheus user agent (#10209)
3 years ago
Eng Zer Jun 3e67654d37
refactor: use `T.TempDir()` and `B.TempDir` to create temporary directory
3 years ago
Shihao Xia d26fd5c97b
fix potential goroutine leaks (#10057)
3 years ago
fpetkovski de87515b24 Implement target discovery in own k8s namespace
3 years ago
Ed Schouten a3e9628e0c
Kubernetes service discovery: add provider ID label (#9603)
3 years ago
Witek Bedyk 14986e52cf
Fix Uyuni SD initialization (#9924)
3 years ago
Augustin Husson d140df2335
replace gopkg.in/fsnotify/fsnotify.v1 by github.com/fsnotify/fsnotify (#9781)
3 years ago
Dieter Plaetinck 0fac9bb859
Add basic initial developer docs for TSDB (#9451)
3 years ago
TJ Hoplock 377bdffdbe
feat: tune api requrest page sizes in linode SD (#9779)
3 years ago
TJ Hoplock e3d0333a3b
fix: linode SD tests (#9773)
3 years ago
Mateusz Gozdek 0bfef847b0 discovery/consul: fix leaking goroutine from test
3 years ago
Mateusz Gozdek 4ef8c7c1d8 discovery/xds: make each test use separate HTTP resource config
3 years ago
Mateusz Gozdek fedcb8999b discovery/marathon: make test use separate instances of config
3 years ago
beorn7 a1e595edac Fix two trivial lint warnings
3 years ago
Conor Evans c28b9a0574
Add datacenter to Consul service discovery logs (#9668)
3 years ago
Julien Pivotto b9c814fce6
Merge pull request #9681 from prometheus/release-2.31
3 years ago
Julien Pivotto 9621c2c0cc
Fix race with targets update during ApplyConfig (#9656)
3 years ago
Mateusz Gozdek ea924746b3
discovery/kubernetes: improve test logic for waiting for discoverers (#9584)
3 years ago
Mateusz Gozdek b7bdf6fab2 Fix imports formatting
3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
3 years ago
lzhfromustc d42be7be76
test:Fix two potential goroutine leaks (#8964)
3 years ago
Julien Pivotto 73255e15f6 Address golint failures from revive
3 years ago
Levi Harrison 89a6ebd799
Add common HTTP client to Azure SD (#9267)
3 years ago
Vladimir Kononov 1043d2b594
Discovery: abstain from restarting providers if possible (#9321) (#9349)
3 years ago
Julien Pivotto 432005826d
Add a feature flag to enable the new discovery manager (#9537)
3 years ago
Julien Pivotto 68bc92b520
uyuni: small fixes for comments (#9538)
3 years ago
Julien Pivotto 2a574bf8c2
Uyuni: enable HTTP2 again (#9539)
3 years ago
Witek Bedyk cda2dbbef6
Add Uyuni service discovery (#8190)
3 years ago
akatsadimas ee77a6212f discovery/kubernetes: issue overcapacity warning for endpoint rather than endpointslice
3 years ago
akatsadimas dd2e666a8d discovery/kubernetes: Warn user in case of endpoint over-capacity
3 years ago
Julien Pivotto 63b3e4e5ec
Enable HTTP2 again (#9398)
3 years ago
Julien Pivotto 1681a8d539
Azure: Fix panic when no computername is set (#9387)
3 years ago
Julien Pivotto 8920024323 Add PuppetDB service discovery
3 years ago
Julien Pivotto b1bdde46c3 kubernetes ingress: adjust comment style
3 years ago
Philip Gough 0af7250c52 discovery:kube: Support wildcard matching for ingress rules
3 years ago
Takashi Kusumi 3ab8559d1c Kubernetes SD: Fix golint issue
3 years ago
Takashi Kusumi 40981c422b Kubernetes SD: Introduce ingressAdaptor
3 years ago
Takashi Kusumi 6634a570cf Kubernetes SD: Support networking.k8s.io/v1 Ingress
3 years ago
Julien Pivotto cab96a06ef
Merge release 2.29 in main (#9196)
3 years ago
Austin Cawley-Edwards 5df37892aa
Fix `kuma_sd` targetgroup reporting (#9157)
3 years ago
TJ Hoplock 7baf084092
optimize Linode SD by polling for event changes during refresh (#8980)
3 years ago
Julien Pivotto 03bee3b5df
Merge pull request #9125 from LeviHarrison/docker_sd-host-networking
3 years ago
Levi Harrison c1b1b826ce HostNetworkHost -> HostNetworkingHost
3 years ago
Julien Pivotto 24165adadc
Merge pull request #9112 from darshanime/add_computer_name
3 years ago
Frederic Branczyk a266d4d2c5
Update Go dependencies
3 years ago
darshanime 898afa2fd9 Add nil checks
3 years ago
jinglina ed24e51e7c
remove redundant type conversion (#9126)
3 years ago
Levi Harrison 89f154d643 Added tests
3 years ago
Levi Harrison 41be43647b
Implemented host_network_host setting
3 years ago
Julien Pivotto dcba645366
Merge pull request #8978 from jfreeland/feat/additional-gce-interfaces
3 years ago
darshanime c8a2ffdb72 Add computer name to azure sd
3 years ago
Julien Pivotto 79d354ad2e
Merge pull request #8844 from austince/feat/discovery-xds
3 years ago
George Brighton bc0e76c8a3
Add AZ ID label to discovered EC2 targets (#8896)
3 years ago
austin ce 0544bdd6af
Add tests for xDS discovery
3 years ago
austin ce d0ffe2ed3e
Add base xDS discovery and kuma SD implementation
3 years ago
Joey Freeland 5d0a12855b Update discovery/gce/gce.go
3 years ago
Lukas Kämmerling 263847e64a
hcloud discovery: Add new labelpresent label (#9028)
3 years ago
Julius Volz 179b2155d1
Fix: Use json.Unmarshal() instead of json.Decoder (#9033)
3 years ago
Julius Volz 441e6cd7d6
Merge release-2.28 back into main (#9035)
3 years ago
Joey Freeland 8017dd7242 chore: always append interface ipv4 with api interface name
3 years ago
Levi Harrison 78d5a6d083
HTTP SD: Allow charset in content type (#8981)
3 years ago
Ben Kochie 7cb55d5732
Merge pull request #8802 from mwasilew2/yaml-linting
3 years ago
Julien Pivotto d8219f29f4
Merge pull request #8983 from roidelapluie/httpsdtests
3 years ago
Julien Pivotto 1deac8f570 HTTP SD: Add tests
3 years ago
Joey Freeland 77e25cf2e5 feat: gce metadata for additional interfaces
3 years ago
Julius Volz 8d98750e8f
Simplify float formatting for HTTP SD refresh interval (#8961)
3 years ago
Levi Harrison 4a4882d4c7 Replace godoc.org links
3 years ago
3Xpl0it3r a0bac4b488
add kubeconfig support in discovery module (#8811)
3 years ago
Frederic Branczyk 039b651450
Merge pull request #8916 from Evesy/main
4 years ago
Michal Wasilewski 3f686cad8b
fixes yamllint errors
4 years ago
Levi Harrison faed8df31d
Enable reading consul token from file (#8926)
4 years ago
Levi Harrison bf1ef2e0f4
Changed log package
4 years ago
Julien Pivotto c0c22ed042
Merge pull request #8927 from LeviHarrison/move-to-go-kit/log
4 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log
4 years ago
Julien Pivotto 9444698ae2
http_sd (#8839)
4 years ago
Mike Eves ae081886fa Fix up tests
4 years ago
Mike Eves 7941b350ba Don't set label if ingressClassName is not set
4 years ago