Commit Graph

161 Commits (a39760aeec8352edb7ba18e3de9365e4ede01f99)

Author SHA1 Message Date
Kit Patella 24a2471029 first pass on agent-configured prometheusDefs and adding defs for every consul metric
4 years ago
R.B. Boyer 61eac21f1a
agent: return the default ACL policy to callers as a header (#9101)
4 years ago
R.B. Boyer 6ba776b4f3
agent: protect the ui metrics proxy endpoint behind ACLs (#9099)
4 years ago
R.B. Boyer b6f686fecb
uiserver: upstream refactors done elsewhere (#8891)
4 years ago
Kit Patella adeabf2399
Merge pull request #8877 from hashicorp/mkcp/telemetry/consul.api.http
4 years ago
Paul Banks 332477f24c
Add /v1/internal/ui/metrics-proxy API endpoint that proxies to a configured metrics provider backend.
4 years ago
Kit Patella 7fe2f80b4b add config flag to disable 1.9 metrics backwards compatibility. Add warnings on start and reload on default value
4 years ago
R.B. Boyer a2a8e9c783
connect: intentions are now managed as a new config entry kind "service-intentions" (#8834)
4 years ago
Kit Patella 52451cf846
Merge pull request #8271 from coignetp/http-metrics-label
4 years ago
Paul Banks e4db845246
Refactor uiserver to separate package, cleaner Reloading
4 years ago
Paul Banks f6d55e1d25
Fix reload test; address other PR feedback
4 years ago
Paul Banks 54a33efa4b
Fix JSON encoding of metrics options which broke the index but didn't break tests.
4 years ago
Paul Banks 526bab6164
Add config changes for UI metrics
4 years ago
Daniel Nephin 282fbdfa75 api: rename HTTPServer to HTTPHandlers
4 years ago
Paul Banks 2ae5230851
Update UI Config passing to not use an inline script (#8645)
4 years ago
Daniel Nephin 6ca45e1a61 agent: add apiServers type for managing HTTP servers
4 years ago
Paul Coignet 1d75a8fb50
Fix tests
4 years ago
Paul Coignet b8b939b98a
Keep both metrics
4 years ago
Daniel Nephin f22f3d300d
Merge pull request #8231 from hashicorp/dnephin/unembed-HTTPServer-Server
4 years ago
Paul Coignet cf68577bef
Use method and path as labels
4 years ago
Daniel Nephin 5247ef4c70 Remove ACLsEnabled from delegate interface
4 years ago
Daniel Nephin a5e45defb1 agent/http: un-embed the HTTPServer
4 years ago
gitforbit 808f632346
agent-http: cleanup: return nil instead of err (#8043)
4 years ago
Hans Hasselberg c7e6c9ebec
http: use default minsize for gzip handler. (#7354)
5 years ago
Jono Sosulska c554ba9e10
Replace whitelist/blacklist terminology with allowlist/denylist (#7971)
5 years ago
Daniel Nephin 4f738b462b Handle error from template.Execute
5 years ago
Daniel Nephin c662f0f0de Fix a number of problems found by staticcheck
5 years ago
Kit Patella ad1d4d4d07 http: migrate from instrumentation in s.wrap() to an s.enterpriseHandler()
5 years ago
Daniel Nephin ff0d894101 agent: remove deadcode that called lib.TranslateKeys
5 years ago
Kit Patella ccece5cd21 http: rename paresTokenResolveProxy to parseTokenWithDefault
5 years ago
Kit Patella 927f584761 agent: stub out auditing functionality in OSS
5 years ago
John Cowen e83fb1882c
Adds http_config.response_headers to the UI headers plus tests (#7369)
5 years ago
Chris Piraino 401221de58
Allow users to configure either unstructured or JSON logging (#7130)
5 years ago
Matt Keeler 9d801d1dc2 ui: feature support templating for index.html (#6921)
5 years ago
Matt Keeler a704ebe639
Add Namespace support to the API module and the CLI commands (#6874)
5 years ago
Matt Keeler 7b471f6bf8
OSS Modifications necessary for sessions namespacing
5 years ago
Ferenc Fabian c90e838495 Case sensitive Authorization header with lower-cased scheme in… (#6724)
5 years ago
Sarah Adams 78ad8203a4
Use encoding/json as JSON decoder instead of mapstructure (#6680)
5 years ago
Matt Keeler e4ea9b0a96
Updates to allow for Namespacing ACL resources in Consul Enterp… (#6675)
5 years ago
Matt Keeler 973341a592
ACL Authorizer overhaul (#6620)
5 years ago
Matt Keeler 76cf54068b
Expand the QueryOptions and QueryMeta interfaces (#6545)
5 years ago
Mike Morris 65be58703c
connect: remove managed proxies (#6220)
5 years ago
Christian Muehlhaeuser 7753b97cc7 Simplified code in various places (#6176)
5 years ago
Sarah Christoff d3d92d76f3
ui: modify content path (#5950)
5 years ago
Matt Keeler d0f410cd84
Make a few config entry endpoints return 404s and allow for snake_case and lowercase key names. (#5748)
6 years ago
Matt Keeler afa1cc98d1
Implement data filtering of some endpoints (#5579)
6 years ago
Freddy b2c12550d7
Remove old UI, option to use it, and its build processes
6 years ago
Kyle Havlovitz 1a4978fb94
Re-add ReadableDuration types to health check definition
6 years ago
Kyle Havlovitz 5bdf130767
Merge pull request #4869 from hashicorp/txn-checks
6 years ago
Paul Banks ef9f27cbc8
connect: tame thundering herd of CSRs on CA rotation (#5228)
6 years ago
Aestek c043de5381 [Security] Allow blocking Write endpoints on Agent using Network Addresses (#4719)
6 years ago
Grégoire Seux 4f62a3b528 Implement /v1/agent/health/service/<service name> endpoint (#3551)
6 years ago
Hans Hasselberg 0b4a879203
ui: serve /robots.txt when UI is enabled. (#5089)
6 years ago
Kyle Havlovitz 67bac7a815 api: add support for new txn operations
6 years ago
Matt Keeler 18b29c45c4
New ACLs (#4791)
6 years ago
Jack Pearkes 8c684db488 New command: consul debug (#4754)
6 years ago
Paul Banks dca1303d05 Connect Envoy Command (#4735)
6 years ago
Paul Banks 88388d760d Support Agent Caching for Service Discovery Results (#4541)
6 years ago
Miroslav Bagljas 3c23979afd Fixes #4483: Add support for Authorization: Bearer token Header (#4502)
6 years ago
Matt Keeler 870a6ad6a8
Handle resolving proxy tokens when parsing HTTP requests (#4453)
6 years ago
Paul Banks 8dd50d5b2d
Add config option to disable HTTP printable char path check (#4442)
6 years ago
Paul Banks d5e934f9ff
Ooops that was meant to be to a branch no master... EMORECOFFEE
6 years ago
Paul Banks eebe45a47b
Add config option to disable HTTP printable char path check
6 years ago
mkeeler 6813a99081 Merge remote-tracking branch 'connect/f-connect'
7 years ago
Paul Banks 43b48bc06b Get agent cache tests passing without global hit count (which is racy).
7 years ago
Paul Banks 41a29a469e Fix roots race with CA setup hammering bug and defensive nil check hit during obscure upgrade scenario
7 years ago
Mitchell Hashimoto 8bcadddda7 agent: intention create returns 500 for bad body
7 years ago
Matt Keeler 197e2f69d5 Switch over to defaulting to the new UI
7 years ago
Matt Keeler 0d197c32dc Add BadRequestError handling
7 years ago
Paul Banks ff37194fc0
Go fmt cleanup
7 years ago
Jack Pearkes 291e8b83ae
Merge pull request #4097 from hashicorp/remove-deprecated
7 years ago
John Cowen e5eeb0aa7c
UI V2 (#4086)
7 years ago
Kyle Havlovitz ba3971d2c1
Remove deprecated metric names
7 years ago
Kyle Havlovitz af4be34a2a
Update make static-assets goal and run format
7 years ago
Matt Keeler 0619efc254 GH-3798: More PR Updates
7 years ago
Matt Keeler de403d6515 GH-3798: Add HTTP prepared query near=_ip test
7 years ago
Matt Keeler 45a537def9 GH-3798: Add near=_ip support for prepared queries
7 years ago
Yoann 0f6e05d4c1 Add support for compression in http api
7 years ago
Preetha a67d27c756
Adds discovery_max_stale (#4004)
7 years ago
Edd Steel d0f0d67b4a
Clarify comments
7 years ago
Edd Steel c5f0bb3711 Allow endpoints to handle OPTIONS/MethodNotFound themselves
7 years ago
Edd Steel f5af8b0f03
Initialise `allowedMethods` in init()
7 years ago
Edd Steel 77f19f7505
Support OPTIONS requests
7 years ago
Diptanu Choudhury 294151c1ad Using labels
7 years ago
James Phillips 7a46d9c1e3
Wraps HTTP mux to ban all non-printable characters from paths.
7 years ago
James Phillips 68f100c8df
Creates HTTP endpoint registry.
7 years ago
James Phillips 679775418f
Moves coordinate disabled logic down into endpoints.
7 years ago
James Phillips 29367cd5ae
Moves ACL disabled response logic down into endpoints.
7 years ago
James Phillips 099b143838
Double-books the HTTP metrics w/ and w/o the "consul" prefix.
7 years ago
James Phillips 4a2cafe525
Adds HTTP/2 support to Consul's HTTPS server. (#3657)
7 years ago
Kyle Havlovitz 2392545adc
Merge branch 'coordinate-node-endpoint' of github.com:hashicorp/consul into esm-changes
7 years ago
Frank Schroeder ca9aac746f
agent: add /v1/coordianate/node/:node endpoint
7 years ago
Kyle Havlovitz 291455f475
Added coordinate update http endpoint
7 years ago
Ryan Slade 85e4aea9d1 Replace time.Now().Sub(x) with time.Since(x)
7 years ago
Frank Schröder 1e461110e6 agent: consolidate handling of 405 Method Not Allowed (#3405)
7 years ago
Frank Schröder 12216583a1 New config parser, HCL support, multiple bind addrs (#3480)
7 years ago
James Phillips 9258506dab Adds simple rate limiting for client agent RPC calls to Consul servers. (#3440)
7 years ago
Frank Schroeder d8195b3a4d agent: drop status code comments
7 years ago
Frank Schröder a3934c263c acl: consolidate error handling (#3401)
7 years ago
Frank Schroeder 1acff3533e
agent: move agent/consul/structs to agent/structs
7 years ago