open-nomad/command/agent
Tim Gross 055434cca9
add metric for count of RPC requests (#15515)
Implement a metric for RPC requests with labels on the identity, so that
administrators can monitor the source of requests within the cluster. This
changeset demonstrates the change with the new `ACL.WhoAmI` RPC, and we'll wire
up the remaining RPCs once we've threaded the new pre-forwarding authentication
through the all.

Note that metrics are measured after we forward but before we return any
authentication error. This ensures that we only emit metrics on the server that
actually serves the request. We'll perform rate limiting at the same place.

Includes telemetry configuration to omit identity labels.
2023-01-24 11:54:20 -05:00
..
consul consul/connect: support for proxy upstreams opaque config (#15761) 2023-01-12 08:20:54 -06:00
event
host testing: setting env var incompatible with parallel tests (#14405) 2022-08-30 14:49:03 -04:00
monitor
pprof
test-resources Add Nomad RetryConfig to agent template config (#13907) 2022-08-03 16:56:30 -04:00
testdata acl: correctly resolve ACL roles within client cache. (#14922) 2022-10-20 09:37:32 +02:00
acl_endpoint.go api: add OIDC HTTP API endpoints and SDK. 2023-01-13 13:15:58 +00:00
acl_endpoint_test.go api: add OIDC HTTP API endpoints and SDK. 2023-01-13 13:15:58 +00:00
agent.go add metric for count of RPC requests (#15515) 2023-01-24 11:54:20 -05:00
agent_endpoint.go api: ensure all request body decode error return a 400 status code. (#15252) 2022-11-18 17:04:33 +01:00
agent_endpoint_test.go cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
agent_oss.go
agent_test.go implement pre-forwarding auth on select RPCs (#15513) 2023-01-24 10:52:07 -05:00
alloc_endpoint.go client: fix RPC forwarding when querying checks for alloc. (#14498) 2022-09-08 16:55:23 +02:00
alloc_endpoint_test.go cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
bindata_assetfs.go Generate files for 1.4.3 release 2022-11-22 12:56:29 -05:00
command.go agent: Make agent syslog log level inherit from Nomad agent log (#15625) 2023-01-04 09:38:06 -05:00
command_test.go cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
config.go add metric for count of RPC requests (#15515) 2023-01-24 11:54:20 -05:00
config_oss.go
config_parse.go acl: correctly resolve ACL roles within client cache. (#14922) 2022-10-20 09:37:32 +02:00
config_parse_test.go acl: correctly resolve ACL roles within client cache. (#14922) 2022-10-20 09:37:32 +02:00
config_test.go add metric for count of RPC requests (#15515) 2023-01-24 11:54:20 -05:00
csi_endpoint.go csi: Fix parsing of '=' in secrets at command line and HTTP (#15670) 2023-01-03 16:28:38 -05:00
csi_endpoint_test.go csi: Fix parsing of '=' in secrets at command line and HTTP (#15670) 2023-01-03 16:28:38 -05:00
deployment_endpoint.go
deployment_endpoint_test.go
eval_endpoint.go eval delete: move batching of deletes into RPC handler and state (#15117) 2022-11-14 14:08:13 -05:00
eval_endpoint_test.go eval delete: move batching of deletes into RPC handler and state (#15117) 2022-11-14 14:08:13 -05:00
event_endpoint.go
event_endpoint_test.go api: remove mapstructure tags fromPort struct (#12916) 2022-11-08 11:26:28 +01:00
fs_endpoint.go build: run gofmt on all go source files 2022-08-16 11:14:11 -05:00
fs_endpoint_test.go
helpers.go
helpers_test.go
http.go api: add OIDC HTTP API endpoints and SDK. 2023-01-13 13:15:58 +00:00
http_oss.go
http_stdlog.go
http_stdlog_test.go
http_test.go fix: stale querystring parameter value as boolean (#15605) 2023-01-01 13:04:14 -06:00
job_endpoint.go consul/connect: support for proxy upstreams opaque config (#15761) 2023-01-12 08:20:54 -06:00
job_endpoint_test.go template: error on missing key (#15141) 2022-11-04 13:23:01 -04:00
keyring.go
keyring_endpoint.go remove root keyring install API (#14514) 2022-09-09 08:50:35 -04:00
keyring_endpoint_test.go remove root keyring install API (#14514) 2022-09-09 08:50:35 -04:00
keyring_test.go
log_file.go
log_file_bsd.go
log_file_linux.go
log_file_test.go
log_file_windows.go
log_levels.go
log_levels_test.go
metrics_endpoint.go
metrics_endpoint_test.go
namespace_endpoint.go api: ensure all request body decode error return a 400 status code. (#15252) 2022-11-18 17:04:33 +01:00
namespace_endpoint_test.go
node_endpoint.go
node_endpoint_test.go
operator_endpoint.go migrate autopilot implementation to raft-autopilot (#14441) 2022-09-01 14:27:10 -04:00
operator_endpoint_oss.go
operator_endpoint_test.go cleanup: remove usage of consul/sdk/testutil/retry (#15609) 2023-01-02 08:06:20 -06:00
plugins.go
region_endpoint.go
region_endpoint_test.go
retry_join.go
retry_join_test.go
scaling_endpoint.go
scaling_endpoint_test.go
search_endpoint.go
search_endpoint_test.go search: enforce correct ACL for search over variables (#14397) 2022-08-30 13:27:31 -04:00
service_registration_endpoint.go api: enable selecting subset of services using rendezvous hashing 2022-06-25 10:37:37 -05:00
service_registration_endpoint_test.go api: enable selecting subset of services using rendezvous hashing 2022-06-25 10:37:37 -05:00
stats_endpoint.go
stats_endpoint_test.go
status_endpoint.go
status_endpoint_test.go
stub_asset.go
syslog.go
syslog_test.go
system_endpoint.go
system_endpoint_test.go
testagent.go ci: swap freeport for portal in packages (#15661) 2023-01-03 11:25:20 -06:00
testagent_oss.go
testingutils_test.go api: remove mapstructure tags fromPort struct (#12916) 2022-11-08 11:26:28 +01:00
variable_endpoint.go rename SecureVariables to Variables throughout 2022-08-26 16:06:24 -04:00
variable_endpoint_test.go ci: swap freeport for portal in packages (#15661) 2023-01-03 11:25:20 -06:00