hc-github-team-consul-core
fa78010b04
Backport of Fix more test flakes into release/1.16.x ( #19545 )
...
* backport of commit 5cb614ed7323303a5e55a2648410cbd9ec5099bd
* Fix flaky metrics tests.
---------
Co-authored-by: Derek Menteer <derek.menteer@hashicorp.com>
2023-11-07 10:46:58 -06:00
hc-github-team-consul-core
db31599ae9
Backport of Dump response body on fail into release/1.16.x ( #18964 )
...
backport of commit 5dbfce67aacbd26e74eebe2e275a9e2933f4a73f
Co-authored-by: Chris S. Kim <ckim@hashicorp.com>
2023-09-21 21:22:33 +00:00
Ronald
dd0e8eec14
copyright headers for agent folder ( #16704 )
...
* copyright headers for agent folder
* Ignore test data files
* fix proto files and remove headers in agent/uiserver folder
* ignore deep-copy files
2023-03-28 14:39:22 -04:00
Paul Banks
bc344e81da
Correct WAL metrics registrations ( #16388 )
2023-02-23 14:07:17 +00:00
Semir Patel
1f82e82e04
Pass remote addr of incoming HTTP requests through to RPC(..) calls ( #15700 )
2022-12-14 09:24:22 -06:00
Kyle Schochenmaier
2b1e5f69e2
removes ioutil usage everywhere which was deprecated in go1.16 ( #15297 )
...
* update go version to 1.18 for api and sdk, go mod tidy
* removes ioutil usage everywhere which was deprecated in go1.16 in favour of io and os packages. Also introduces a lint rule which forbids use of ioutil going forward.
Co-authored-by: R.B. Boyer <4903+rboyer@users.noreply.github.com>
2022-11-10 10:26:01 -06:00
Gabriel Santos
09c00ff39a
Middleware: `RequestRecorder` reports calls below 1ms as decimal value ( #12905 )
...
* Typos
* Test failing
* Convert values <1ms to decimal
* Fix test
* Update docs and test error msg
* Applied suggested changes to test case
* Changelog file and suggested changes
* Update .changelog/12905.txt
Co-authored-by: Chris S. Kim <kisunji92@gmail.com>
* suggested change - start duration with microseconds instead of nanoseconds
* fix error
* suggested change - floats
Co-authored-by: alex <8968914+acpana@users.noreply.github.com>
Co-authored-by: Chris S. Kim <kisunji92@gmail.com>
2022-09-15 13:04:37 -04:00
alex
04ec093130
no 1.9 style metrics ( #13532 )
...
Signed-off-by: acpana <8968914+acpana@users.noreply.github.com>
2022-06-29 09:46:37 -07:00
cskh
bd3a4dfeab
Add isLeader metric to track if a server is a leader ( #13304 )
...
CTIA-21: sdd is_leader metric to track if a server is a leader
Co-authored-by: alex <8968914+acpana@users.noreply.github.com>
2022-06-03 13:07:37 -04:00
FFMMM
cf7e6484aa
add more labels to RequestRecorder ( #12727 )
...
Co-authored-by: Daniel Nephin <dnephin@hashicorp.com>
Signed-off-by: FFMMM <FFMMM@users.noreply.github.com>
2022-04-12 10:50:25 -07:00
Matt Keeler
3447880091
Enable running autopilot state updates on all servers ( #12617 )
...
* Fixes a lint warning about t.Errorf not supporting %w
* Enable running autopilot on all servers
On the non-leader servers all they do is update the state and do not attempt any modifications.
* Fix the RPC conn limiting tests
Technically they were relying on racey behavior before. Now they should be reliable.
2022-04-07 10:48:48 -04:00
FFMMM
b0cba2ec03
mark disable_compat_1.9 to deprecate in 1.13, change default to true ( #12675 )
...
Co-authored-by: R.B. Boyer <4903+rboyer@users.noreply.github.com>
2022-04-01 10:35:56 -07:00
FFMMM
8b184197b3
polish rpc.service.call metric behavior ( #12624 )
2022-03-31 10:49:37 -07:00
FFMMM
560f8cbc89
fix bad oss sync, use gauges not counters ( #12611 )
2022-03-24 14:41:30 -07:00
FFMMM
8f98bbda75
[metrics][rpc]: add basic prefix filter test for new rpc metric ( #12598 )
...
Signed-off-by: FFMMM <FFMMM@users.noreply.github.com>
2022-03-23 13:29:12 -07:00
FFMMM
08f2838b78
pre register new rpc metric, rename metric ( #12582 )
2022-03-21 17:26:32 -07:00
FFMMM
3c08843847
[sync oss] add net/rpc interceptor implementation ( #12573 )
...
* sync ent changes from 866dcb0667
Signed-off-by: FFMMM <FFMMM@users.noreply.github.com>
* update oss go.mod
Signed-off-by: FFMMM <FFMMM@users.noreply.github.com>
2022-03-17 16:02:26 -07:00
Daniel Nephin
a8d6392ab5
Add tests for cert expiry metrics
2021-10-28 14:38:57 -04:00
Daniel Nephin
0a19d7fd76
agent: move agent tls metric monitor to a more appropriate place
...
And add a test for it
2021-10-27 16:26:09 -04:00
FFMMM
6433a57d3c
fix autopilot_failure_tolerance, add autopilot metrics test case ( #11399 )
...
Signed-off-by: FFMMM <FFMMM@users.noreply.github.com>
2021-10-25 10:55:59 -07:00
FFMMM
7f28301212
fix consul_autopilot_healthy metric emission ( #11231 )
...
https://github.com/hashicorp/consul/issues/10730
2021-10-08 10:31:50 -07:00